Getting logs for tomorrow
Getting logs for tomorrow
In my indicies I am showing some for tomorrow. I have done a query but I am not showing anything from those queries. Can anyone help me with this? I know I had this issue before but when i did a search then it showed me what had a wrong date and I was able to fix it.
Re: Getting logs for tomorrow
Running the below from the command line should help you track down the hosts. Make sure to adjust the index name(logstash-2020.05.28) to whichever day you need to search:
Code: Select all
curl -XGET 'http://localhost:9200/logstash-2020.05.28/_search?pretty' -d ' { "aggs" : { "hosts" : { "terms" : { "field" : "host.raw" } } } } 'As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.