<?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: Unable to forward syslog to third-party syslog server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338509#M62477</link>
    <description>&lt;P&gt;I would check firewalls are not blocking the traffic between Splunk and your syslog server. Can you also try using udp instead of tcp as a test?&lt;/P&gt;

&lt;P&gt;Also run&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; splunk btool outputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and confirm the outputs are being parsed correctly and there are no other config items overwritting your settings.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 23:37:48 GMT</pubDate>
    <dc:creator>sduff_splunk</dc:creator>
    <dc:date>2017-03-07T23:37:48Z</dc:date>
    <item>
      <title>Unable to forward syslog to third-party syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338508#M62476</link>
      <description>&lt;P&gt;I have two heavy forwarders that are responsible for sending syslog events via TCP to a third-party syslog server.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::&amp;lt;fqdn&amp;gt;]
TRANSFORMS-routing = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = syslog_siem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:syslog_siem]
type = tcp
server = &amp;lt;IP&amp;gt;:&amp;lt;port&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am currently facing this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;03-05-2017 00:41:43.058 +0800 ERROR DistributedClient -  Write error The operation completed successfully.
03-05-2017 00:41:43.058 +0800 ERROR OutputProc - Failed to send data to &amp;lt;IP&amp;gt;:&amp;lt;port&amp;gt;. Failed to send data with TCPClient::send. err=-3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am 100% sure it is not a network issue. The : is actually a load balancer IP address for the syslog server.&lt;/P&gt;

&lt;P&gt;I have tried to use the same configuration to forward to a Splunk instance, and it works beautifully.&lt;/P&gt;

&lt;P&gt;May I know what is wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 07:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338508#M62476</guid>
      <dc:creator>michaeltay</dc:creator>
      <dc:date>2017-03-07T07:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to forward syslog to third-party syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338509#M62477</link>
      <description>&lt;P&gt;I would check firewalls are not blocking the traffic between Splunk and your syslog server. Can you also try using udp instead of tcp as a test?&lt;/P&gt;

&lt;P&gt;Also run&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; splunk btool outputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and confirm the outputs are being parsed correctly and there are no other config items overwritting your settings.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 23:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338509#M62477</guid>
      <dc:creator>sduff_splunk</dc:creator>
      <dc:date>2017-03-07T23:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to forward syslog to third-party syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338510#M62478</link>
      <description>&lt;P&gt;Hi sduff,&lt;/P&gt;

&lt;P&gt;It's not a firewall issue, as I am able to establish connection to the load balancer via the specified TCP port.&lt;/P&gt;

&lt;P&gt;Unfortunately, it is impossible to change the connection to UDP.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 01:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338510#M62478</guid>
      <dc:creator>michaeltay</dc:creator>
      <dc:date>2017-03-08T01:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to forward syslog to third-party syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338511#M62479</link>
      <description>&lt;P&gt;Besides forwarding the syslog events to a third-party syslog server, I am also forwarding certain syslog events to the indexer. I'm also using tcpout to send Windows event logs to port 9997 of the indexer.&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_both]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = syslog_siem, syslog_indexer

[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = syslog_siem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
defaultGroup = syslog_everything

[syslog:syslog_siem]
type = tcp
server = &amp;lt;IP&amp;gt;:&amp;lt;port&amp;gt;

[syslog:syslog_indexer]
type = udp
server = &amp;lt;IP&amp;gt;:&amp;lt;port&amp;gt;

[syslog:syslog_everything]

[tcpout]
defaultGroup = send_to_indexer

[tcpout:send_to_indexer]
server = &amp;lt;IP&amp;gt;:9997

[tcpout-server://&amp;lt;IP&amp;gt;:9997]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 01:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-forward-syslog-to-third-party-syslog-server/m-p/338511#M62479</guid>
      <dc:creator>michaeltay</dc:creator>
      <dc:date>2017-03-08T01:59:11Z</dc:date>
    </item>
  </channel>
</rss>

