我收到错误---“找不到匹配的索引:没有索引匹配模式”filebeat- *“”我只是按照教程
curl -XGET 'http://xxx.xxx.xxx.xxx:9200/filebeat-*/_search?pretty'
{
"took" : 0,
"timedout" : false,
"shards" : {
"total" : 0,
"successful" : 0,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : 0.0,
"hits" : [ ]
}
}
需要帮忙...!!!!
我也有同样的错误我没有正确更新filebeat.yml,如果你已经设置配置发送到logstash更新文件filebeat.yml与以下
打开filebeat.yml $ sudo nano /etc/filebeat/filebeat.yml
评论以下几行 #output.elasticsearch: #hosts:[“localhost:9200”]
取消注释以下行
output.logstash: 主持人:[“localhost:5044”]