We have a logstash set up where input is based on a file.
Logstash parses the file and an index is created. A new file ends up for processing every 30 minutes.
We want a new index to be created every time a new file comes in (and the old one gets rolled over). This is needed to keep a historical record.
Please guide on how this can be achieved.