Index naming based on timestamp

Hi all,

Here i can see the beats was succuesfully collect the logs with this naming format and below is how the way its showed in logstash

Path => C:\var\log\myfolder\myrecord_2019-09-09.log

My question is how to treat the timestamp here? Because on a daily basis new myrecord_2019_09_10.log will be created and how to define the configuration in logstash output because everday is different date ?
Any help is appreciated

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