You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}/"
The text was updated successfully, but these errors were encountered:
Apart from prefix which is the starting directory of what you want to process there is also path_filters which does an fnmatch using a glob. I don't know the details, but I image something like /202[4-9]/ will look at new files and stores the size in the registry just in case the file grows. https://www.rubydoc.info/stdlib/core/File.fnmatch
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
The text was updated successfully, but these errors were encountered: