工作按照這個filebeat創建索引似乎沒有elasticsearch
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
我們可以這樣
curl -XPUT 'http://@IPELK:9200/_template/filebeat?pretty' [email protected]/PATH2/filebeat.template.json
創建索引當我啓動該COMMANDE我收到的輸出: { 「確認」: }
但仍處於彈性搜索創建我們可以看到沒有由index:
[root] curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open .kibana 1 1 3 1 15.1kb 15.1kb
yellow open logstash-2016.01.12 5 1 115 0 142.4kb 142.4kb
[root]#
所以,其實我已經filebeat和我logstash之間沒有溝通:( 任何想法? Thx。
你能告訴filebeat.template.json'的'內容移除_template和你logstash配置? – Val