【搜索技术】设置 kibana 问题:Warning No default index pattern
如图,初次启动kibana,打开网页后显示
Warning No default index pattern. You must select or create one to continue.
已经启动了elasticsearch和logstash, logstash.conf设置如下:
input {log4j {
mode => "server"
host => "127.0.0.1"
port => 4567
type => "log4j"
}
#stdin { } console input
}
filter {
#Only matched data are send to output.
}
output {
#stdout {} console output
elasticsearch {
action => "index" #The operation on ES
hosts => "localhost:9200" #ElasticSearch host, can be array.
index => "applog2" #The index to write data to.
}
}
这个问题如何解决?谢谢!
回答
我是这么解决的:
1、在“Index name or pattern”项下,填入一个elasticsearch的索引名,也即是Logstash配置文件中output项下的index对应的名称;在你这里应该是将“logstash-*”改成“applog2”;
2、在“Time-field name”,选用默认的配置:“@timestamp”
3、点击“create”即可;
以上是 【搜索技术】设置 kibana 问题:Warning No default index pattern 的全部内容, 来源链接: utcz.com/a/84705.html