Page 1 of 1

How to export log4j log to NLS?

Posted: Fri Nov 19, 2021 6:20 am
by azreenariff
Hi Support,

Our client wants to send log4j logs from AIX server to the NLS. Can help to provide info on how to do this?

Thanks.

Re: How to export log4j log to NLS?

Posted: Fri Nov 19, 2021 5:32 pm
by kfanselow
Hi azreenariff,

There are a couple of ways that this may be possible. The simplest way may be to route log4j to syslog if you are already sending syslog from that system to your Nagios Log Server. You should review the documentation that you have available to you but it appears there are a number of guides on how to do this.

https://www.java67.com/2020/04/how-to-s ... linux.html

The second option would be to configure a logstash input for log4j, or beats.

https://assets.nagios.com/downloads/nag ... Inputs.pdf

Thanks and Best Regards,
Keith