I want to query across all available indices on given elastic search instance and get following information.
List available indices
unique host names available across available indices
All source log in unique host names in available indices.
last update and early update available on source log.
I have my own file which will contain host name and source log information to compare with and flag host names and source log file which are not available in elastic search instance.
Sorry I did not get data ingestion part.
I have to write my own script to do comparison ? Is it something elastic search provides.
We use log stash and grok logs before sending it to elastic search.
If you want to compare against a static file you have three options;
Do it outside of Elasticsearch, where you retrieve the events you want via and then compare them, all with a custom script
Put the data into Elasticsearch in it's own index, then when you ingest the events through Logstash, run an Elasticsearch filter on the IP to enhance the event
The same as number 2, just do it with a translate filter in Logstash
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.