ELK x-pack No matching indices found: [index_not_found_exception] no such index


(Jlogan) #1

hi everyone
recently,I used x-pack to install my ELK,i wanted to import my local log file and use kibana to get reporting,monitoring...how can i achieve this?
And i have a error about filebeat:
No matching indices found: [index_not_found_exception] no such index, with { index_uuid="na" & index="filebeat-*" }
how to solve this?
please


(Lee Drengenberg) #2

Hi,
What version did you install?
What operating system did you install on?
Are you seeing the error message in Kibana?

I think the first thing to check is if your filebeat configuration is loading your local log file into Elasticsearch. You can check your indices with something like this in your browser;
http://localhost:9200/_cat/indices?v

If you have some document count for your filebeat index, the next step would be to create an index pattern in Kibana for it. Did you already do that?

Regards,
Lee


(Jlogan) #3

thanks,all version is 5.3 ,but i just installed elasticsearch,logstah,kibana,
just wanted import my data ,the logstash.conf is
`input {
file {
path => "/home/data/accounts.json"
}
}

output {
elasticsearch {
hosts => ["172.16.0.10:9200"]
index => "accounts"
}
}
but when i run this, just showSending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties`
just stopped here,no any output
im so confused,could you help me ?


(Lee Drengenberg) #4

I'm so sorry I lost track of this issue. Did you get it resolved? If not, I can try to help you.

Did you check http://172.16.0.10:9200/_cat/indices?v and did that show you have documents in that index?

If not, you can add a debug output block to your logstash config to help see what the problem is. It would look like this;

output {
  stdout {
    codec => rubydebug
  }
  elasticsearch {
    hosts => ["172.16.0.10:9200"]
    index => "accounts"
  }
}

Regards,
Lee


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.