Hello,
i am currently building a new pipeline for filebeat where we ingest a lot of different logfiles, e.g.
- /log/appname1.log
- /log/appname2.log
- etc
now i want a field in every document that says:
- app: appname1
So, is it possible to parse an existing field (log.file.path: /log/appname1.log) with an regex and use the result in a new field?