Importing Dynamic named file from logstash to elasticsearch in a single index

Hi Team,

So let's just say I'm receiving some dynamic named files based on today's date like,

somefile-25-02-2021.csv  
somefile-26-02-2021.csv
somefile-27-02-2021.csv
somefile-28-02-2021.csv

and I want to increment the daily data into a single index, but if I use filebeat and use * at the end of the directory it will pick up all the files on a daily basis, not the one I received today.

so any solution for this? Like what should i use to push data into a single index with logstash or file beat

Regards,
Sagar Mandal

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