Hi, i need to run two separate instances of logstash with different configurations of log4j2.properties. Is it possible to specify a custom file on execution? If so, please share some examples. Thank you.
Logstash has several command-line options for choosing which directories to use and I'm sure one of them can be used to (perhaps indirectly) select which log4j2.properties file to use.
May i know which is the option to do that? I cant seem to find such an option.
Search for log4j in https://www.elastic.co/guide/en/logstash/current/command-line-flags.html.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.