<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there any method to index log4j syslog from remote log4j server? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-method-to-index-log4j-syslog-from-remote-log4j/m-p/37836#M178667</link>
    <description>&lt;P&gt;I want to index log4j syslog from remote log4j server, but I noticed the data is not plain text, splunk can not index them dicretly via network.&lt;BR /&gt;
I read the best way to index log4j file is to set up a standard log4j-syslog appender on my log4j host. &lt;BR /&gt;
However, log4j-syslog appender seems to be no longer available.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Community:Log4j"&gt;http://www.splunk.com/wiki/Community:Log4j&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Does anybody know if there is any other method to index log4j from remote log4j server?&lt;BR /&gt;
If log4j-syslog appender is still available, please also let me know how I can get it.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2011 06:19:25 GMT</pubDate>
    <dc:creator>Takajian</dc:creator>
    <dc:date>2011-07-05T06:19:25Z</dc:date>
    <item>
      <title>Is there any method to index log4j syslog from remote log4j server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-method-to-index-log4j-syslog-from-remote-log4j/m-p/37836#M178667</link>
      <description>&lt;P&gt;I want to index log4j syslog from remote log4j server, but I noticed the data is not plain text, splunk can not index them dicretly via network.&lt;BR /&gt;
I read the best way to index log4j file is to set up a standard log4j-syslog appender on my log4j host. &lt;BR /&gt;
However, log4j-syslog appender seems to be no longer available.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Community:Log4j"&gt;http://www.splunk.com/wiki/Community:Log4j&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Does anybody know if there is any other method to index log4j from remote log4j server?&lt;BR /&gt;
If log4j-syslog appender is still available, please also let me know how I can get it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2011 06:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-method-to-index-log4j-syslog-from-remote-log4j/m-p/37836#M178667</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2011-07-05T06:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any method to index log4j syslog from remote log4j server?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-method-to-index-log4j-syslog-from-remote-log4j/m-p/37837#M178668</link>
      <description>&lt;P&gt;the syslog appender is still available. You can configure it like so;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Syslog appender
log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
log4j.appender.syslog.layout.ConversionPattern=%-5.5p | %other_pattern | %m%n
# Set the following to yoursyslogserver:514 for remote. 
log4j.appender.syslog.SyslogHost=localhost:514
log4j.appender.syslog.Facility=Local0
log4j.appender.syslog.Threshold=WARN
log4j.appender.syslog.FacilityPrinting=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The syslog appender is definitely still available in log4j 1.2 API: &lt;A href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SyslogAppender.html"&gt;API doc&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;On a side note, we use a local splunkforwarder with udp:localhost:514 listener forwarding to our index server - its more reliable like this, as UDP is a "fire and forget" protocol.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2012 08:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-method-to-index-log4j-syslog-from-remote-log4j/m-p/37837#M178668</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2012-10-08T08:37:20Z</dc:date>
    </item>
  </channel>
</rss>

