<?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 How can eventdata from specific sourcetypes be forwarded to syslog on a heavy forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170471#M34465</link>
    <description>&lt;P&gt;I'm trying to forward Windows logs from a Splunk indexer over to a syslog server. The indexer parses both Windows and Linux logs. I would like to only send events from a set of Windows sourcetypes over to syslog. I have tried configuring outputs.conf, props.conf, and transforms.conf as described in the guide for sending data to third party systems but don't believe it's forwarding properly.&lt;/P&gt;

&lt;P&gt;outputs.conf (The syslog server listens on 515)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:win_syslog_group]
server = 10.10.6.13:515
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::win*]
TRANSFORMS-win = 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 = win_syslog_group
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 13 Aug 2015 15:38:21 GMT</pubDate>
    <dc:creator>tylergps</dc:creator>
    <dc:date>2015-08-13T15:38:21Z</dc:date>
    <item>
      <title>How can eventdata from specific sourcetypes be forwarded to syslog on a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170471#M34465</link>
      <description>&lt;P&gt;I'm trying to forward Windows logs from a Splunk indexer over to a syslog server. The indexer parses both Windows and Linux logs. I would like to only send events from a set of Windows sourcetypes over to syslog. I have tried configuring outputs.conf, props.conf, and transforms.conf as described in the guide for sending data to third party systems but don't believe it's forwarding properly.&lt;/P&gt;

&lt;P&gt;outputs.conf (The syslog server listens on 515)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:win_syslog_group]
server = 10.10.6.13:515
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::win*]
TRANSFORMS-win = 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 = win_syslog_group
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170471#M34465</guid>
      <dc:creator>tylergps</dc:creator>
      <dc:date>2015-08-13T15:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can eventdata from specific sourcetypes be forwarded to syslog on a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170472#M34466</link>
      <description>&lt;P&gt;Did you had a look on the following option in the outputs.conf documentation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;syslogSourceType = &amp;lt;string&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As you obviously don't have syslog logdata, Splunk will possibly add a correct syslog header (at least timestamp+host) to your logs.&lt;/P&gt;

&lt;P&gt;Unfortunately I don't know how it is handling the bunch of line breaks.&lt;/P&gt;

&lt;P&gt;As rroberts suggests I would prefer TCP routing too, using the tcpout stanzas.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 17:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170472#M34466</guid>
      <dc:creator>Raschko</dc:creator>
      <dc:date>2015-08-13T17:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can eventdata from specific sourcetypes be forwarded to syslog on a heavy forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170473#M34467</link>
      <description>&lt;P&gt;the props.conf should be some thing like this&lt;BR /&gt;
[sourcetype:win*]&lt;BR /&gt;
TRANSFORMS-win = send_to_syslog&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-eventdata-from-specific-sourcetypes-be-forwarded-to/m-p/170473#M34467</guid>
      <dc:creator>cleelakrishna</dc:creator>
      <dc:date>2020-09-29T14:54:20Z</dc:date>
    </item>
  </channel>
</rss>

