<?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 Re: syslog server not receiving any events from a heavyforwarder. what could be the issue and how can it be resolved? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474831#M81547</link>
    <description>&lt;P&gt;What is used in the syslog?Syslog-NG ,rsyslog ?? Can you paste the configuration of syslog?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 10:28:57 GMT</pubDate>
    <dc:creator>ansif</dc:creator>
    <dc:date>2020-02-21T10:28:57Z</dc:date>
    <item>
      <title>syslog server not receiving any events from a heavyforwarder. what could be the issue and how can it be resolved?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474830#M81546</link>
      <description>&lt;P&gt;I setup syslog output forwarding per the Splunk docs, but am not seeing anything being sent out nor receiving it on the endpoint.&lt;/P&gt;

&lt;P&gt;All I'm trying to do is forward some data to syslog server via TCP port from a heavyforwarder. Here is what I have applied on the heavyforwarder outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Outputs.conf on heavy forwarder  

[syslog]
defaultGroup = forwarders_syslog

[syslog:forwarders_syslog]
server = syslog_hostname:port
clientCert = $SPLUNK_HOME/etc/auth/output-cert.pem
maxQueueSize = 20MB
sslPassword = xxxxxxx
type=tcp
sendCookedData=false
indexAndForward = 1
compressed = true
sslVerifyServerCert = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Note :-&lt;/STRONG&gt;&lt;BR /&gt;
The configuration for forwarding the data to syslog can be found under  [syslog:forwarders_syslog]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Props.conf on heavy forwarder

[sourcetype::XYZ]
TRANSFORMS-ABC_DEF= send_to_ABC_DEF
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The following is transforms.conf on heavy forwarder&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_ABC_DEF]
 REGEX = .
 DEST_KEY = _SYSLOG_ROUTING
 FORMAT = forwarders_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried the following troubleshooting steps to identify the root cause and don't find any &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Able to telnet to the syslog server from heavy forwarder with the port specified in outputs.conf&lt;/LI&gt;
&lt;LI&gt;tried the netstat -tnlp on the destination server and see the required port is listening and open. &lt;/LI&gt;
&lt;LI&gt;seeing some traffic between source and destination.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Not sure what else should I be checking on to identify the root cause and fix the issue. Although I do see an error on splunkd.log as follows &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ERROR OutputProc - Failed to send data to syslog_hostname:port. Failed to send data with TCPClient::send. err=-3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also seeing the below blocked=true in metrics.log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO  Metrics - group=queue, name=forwarders_syslog, blocked=true, max_size_kb=97, current_size_kb=97, current_size=147, largest_size=150, smallest_size=26
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Feb 2020 16:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474830#M81546</guid>
      <dc:creator>pavanae</dc:creator>
      <dc:date>2020-02-20T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: syslog server not receiving any events from a heavyforwarder. what could be the issue and how can it be resolved?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474831#M81547</link>
      <description>&lt;P&gt;What is used in the syslog?Syslog-NG ,rsyslog ?? Can you paste the configuration of syslog?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 10:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474831#M81547</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2020-02-21T10:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: syslog server not receiving any events from a heavyforwarder. what could be the issue and how can it be resolved?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474832#M81548</link>
      <description>&lt;P&gt;You have some minor mistakes in your configs.&lt;/P&gt;

&lt;P&gt;Your props.conf is using the wrong stanza format. &lt;BR /&gt;
Instead of &lt;CODE&gt;[sourcetype::XYZ]&lt;/CODE&gt;, it should be just &lt;CODE&gt;[XYZ]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[XYZ]
TRANSFORMS-ABC_DEF= send_to_ABC_DEF
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;sourcetype stanzas are just &lt;CODE&gt;[sourcetypeName]&lt;/CODE&gt;&lt;BR /&gt;
source stanzas use the format you originally used &lt;CODE&gt;[source::yoursourcename]&lt;/CODE&gt;&lt;BR /&gt;
host stanzas also use that format &lt;CODE&gt;[host::yourhostname]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You also have some invalid options under &lt;CODE&gt;[syslog:forwarders_syslog]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;remove the following from outputs.conf as they have no effect for a syslog output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; clientCert = $SPLUNK_HOME/etc/auth/output-cert.pem
 maxQueueSize = 20MB
 sslPassword = xxxxxxx
 sendCookedData=false
 indexAndForward = 1
 compressed = true
 sslVerifyServerCert = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your remaining outputs.conf stanza should therefore just read:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:forwarders_syslog]
server = syslog_hostname:port
type=tcp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Feb 2020 10:54:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-server-not-receiving-any-events-from-a-heavyforwarder/m-p/474832#M81548</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-21T10:54:06Z</dc:date>
    </item>
  </channel>
</rss>

