I need to create a prefix that allows me to have the year, month and day as a variable so that my logstash process does not analyze the millions of records I have in my storage but only uses the folder of the current day.
i tried with this but doesnt work
prefix => "%{YEAR}/%{MONTHNUM}/%{MONTHDAY}/"