How to add variables like application code, context, environment in Filebeat configuration to distinguish the application logs of different applications

How to add variables like application code, context, environment in Filebeat configuration to distinguish the application logs of different applications.

Also, I want to make such configuration such that one application user must not able to access another application logs.

https://www.elastic.co/guide/en/beats/filebeat/current/configuration-general-options.html#configuration-general covers the first part.

For the second one you want X-Pack Security.

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