Support Questions
Find answers, ask questions, and share your expertise

Log4J Appender

Log4J Appender

New Contributor

Having trouble ingesting logs from a Solaris Application environment where the developers are using Log4J as their delivery solution for sending the logs to NiFi. Using a ListenSyslog processor to grab the logs via TCP however the message body does not get transformed properly into readable format. Any suggestions or advice around the code the developer should use for the "send" to Nifi using :

---------------------------------------------------------

log4j.appender.remoteLogAppender=org.apache.log4j.net.SyslogAppender

log4j.appender.remoteLogAppender.remoteHost=********* (hostname masked out)

log4j.appender.remoteLogAppender.port=8881

log4j.appender.remoteLogAppender.ReconnectionDelay=10000

---------------------------------------------------------

We tried both SocketAppender and SyslogAppender at the end of line 1

Anything missing from this code ???

Thanks in advance all,

John (Dallas)