I am still new with elasticsearch and trying to find the best way how to filter results from a range of indices.
i.e.: Filebeat and logstash use to create index per day. I use to use bot for an different purpose and parallel I am using a posix shell script which is parsing and indexing some files from archive. Hence I have 3 types of indexes:
- archive
- logs
- processing
archive and logs are generated with date in the name:
- archive-2015.12.31
- archive-2016.01.04
- logs-2015.12.31
- logs-2016.01.04
I have tried various of attempts, but no success.
How to build the URI if I want to search only in logs or only in archive?
Many thanks Regards Reddy