I am trying to configure filebeat so that it obtains logs from a server which is running 3 applications, the most logical thing is that each one has its id as a reference, for this configure 3 entries with its specific path and its id in this way. If there is another simpler way I would like to know.
Another detail is that in the processors configuration I am declaring environment variables in this way:
I need to have the V_APP_NAME for each of the applications that will get the filebeat, V_CODE_ENV: DEV and V_CODE_REGION: TAM will stay that way for fixed, I just need V_APP_NAME to adapt to the log entry that is obtained depending on the application.
In the image it only works for me in a general way and I want it more specific, for each input the V_APP_NAME has to be different since the app is different.
Yes, after testing, make 3 processors for each input and a general one. I thought I was being too repetitive and maybe there was an easier way to do the same thing.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.