Filebeat send json data to Elasticsearch & Use file name as index

Is it possible to create a Elasticsearch index using a file name. I have the json file named as daily regex, and want to send this data day by day to elsaticsearch. On the Elasticsearch index I want to use file same as index.

my_log_file_json_01.01.2022.json

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