Hi,
I have the same kind of log file that uses the same grok patterns to match, however they are in different folders and I want to tag them accordingly. How would I go about it?
Would something like this work:
filebeat.inputs:
- type: log
enabled: true
paths:
- /opt/IBM/WebSphere/server_one/SystemOut.log
tags: ["server_one"]
paths:
- /opt/IBM/WebSphere/server_two/SystemOut.log
tags: ["server_two"]