Whenever Filebeat ingests an entry from a log file, it will create a field in the resulting event called log.file.path. This field will contain the complete path to the log file from where the entry was ingested. So, in your case, this would have values like /path/to/my/logs/mylogFile-20200423.log.
In your Logstash pipeline, you can perhaps use something like a grok filter to extract the date part from this field. And similarly you could extract the time part from your log entry. Then combine the two and pass the combined value to the Logstash date filter to set the correct @timestamp field value for each of your log entries / events.
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.