Logstash for Adding a New Field

Can i somehow get only the filename in my "source" field instead of the whole path of the file.

Please help. Thanks

This has been asked many times before. See e.g. Extract File Name from source.

1 Like

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