我试图在Ubuntu 16.04 LTS上设置ELT堆栈(因此堆栈可用的最新版本)kibana是nginx代理的后面(遵循本指南https://www.digitalocean.com/community/tutorials/how-to- install-elasticsearch-logstash-and-kibana-elk-stack-on-Ubuntu-16-04 )
而且一切都很好,直到去kibana仪表板
Index Patterns Warning No default index pattern. You must select or create one to continue. unable to fetch mapping do you have indices matching the pattern
ELK堆栈在一台服务器上,所以在本地主机上的一切
下面是我跑来检查我的configuration的命令
:~# curl 127.0.0.1:9200` { "name" : "Flex", "cluster_name" : "elk-00", "version" : { "number" : "2.3.3", "build_hash" : "218bdf10790eef486ff2c41a3df5cfa32dadcfde", "build_timestamp" : "2016-05-17T15:40:04Z", "build_snapshot" : false, "lucene_version" : "5.5.0" }, "tagline" : "You Know, for Search" :~# service logstash configtest Configuration OK
我的问题,非常具体
1.如何创build默认索引文件?
2.这个默认索引文件的path是什么? 我也听说.kibana,这个文件.kibana位于哪里?
3.为什么这个索引文件不是为我自动创build的? 我该怎么做,以确保它自动工作,而无需手动做任何事情?
所以显然这个错误发生是因为elasticsearch没有数据,还没有数据加载到它
按照这个指南加载数据到elasticsearch,一切都开始像一个魅力工作!
https://www.elastic.co/guide/en/kibana/current/getting-started.html