Logstash S3 filename parsing

For the input I am using the Logstash S3 plugin. We are putting quite some information in the name of our log files, an example log filename:

<pr-number>-<author>-<date>-<branch>.log

Could someone help me how to parse through the filename and how to set attributes based on this data?

Thanks :slight_smile:

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