Logs are missing in elasticsearch


I am sending log files to Elasticsearch cluster through logstash, but log lines are missing while searching in kibana and I haven't seen any error in logstash and elasticsearch side.


Hi @clash_of_clanss,

After transferring the logs from logstash to elasticsearch. Use the command #curl -X GET "10.0.X.X:9200/_cat/indices?v" on elasticsearch node to verify if the files are transferred correctly/properly or not.

You need to calculate the no total no of lines in log files(input) and match it with the "docs.count" parameter value (corresponding to the created index). If values differ then, there might be problem in transfer of logs from logstash to elasticsearch.

Nikhil Kapoor

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