<?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: Send filtered data to syslog and not index it in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19601#M2787</link>
    <description>&lt;P&gt;You'd need a second transform after (as part of the [nyc] sourcetype) to subsequently null queue the local event, after forwarding a copy to syslog.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2013 15:26:02 GMT</pubDate>
    <dc:creator>sowings</dc:creator>
    <dc:date>2013-09-09T15:26:02Z</dc:date>
    <item>
      <title>Send filtered data to syslog and not index it</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19598#M2784</link>
      <description>&lt;P&gt;How to send filtered system log errors only to syslog and NOT index that data?&lt;/P&gt;

&lt;P&gt;My current configuration send to syslog and index data.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[nyc]
TRANSFORMS-nyc = send_to_syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[send_to_syslog]
REGEX = error
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group, send_to_null

[send_to_null]
REGEX = .*
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog:my_syslog_group]
server=192.168.118.128:514
index=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Nov 2011 18:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19598#M2784</guid>
      <dc:creator>cloud_cloud</dc:creator>
      <dc:date>2011-11-19T18:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Send filtered data to syslog and not index it</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19599#M2785</link>
      <description>&lt;P&gt;props.conf&lt;BR /&gt;
In you case, I assume "nyc" is sourcetype you want to forward to syslog server. So, following configuration will work. Is your target server is syslog, not splunk index server, isn't it. &lt;/P&gt;

&lt;P&gt;[nyc]&lt;BR /&gt;
TRANSFORMS-nyc = send_to_syslog&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;[send_to_syslog]&lt;BR /&gt;
REGEX = error&lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;
FORMAT = my_syslog_group&lt;/P&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;P&gt;[syslog:my_syslog_group]&lt;BR /&gt;
server=192.168.118.128:514&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19599#M2785</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2020-09-28T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Send filtered data to syslog and not index it</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19600#M2786</link>
      <description>&lt;P&gt;This forwards the data as syslog - yes.&lt;BR /&gt;
But the data still gets indexed.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 12:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19600#M2786</guid>
      <dc:creator>FRoth</dc:creator>
      <dc:date>2013-09-09T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send filtered data to syslog and not index it</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19601#M2787</link>
      <description>&lt;P&gt;You'd need a second transform after (as part of the [nyc] sourcetype) to subsequently null queue the local event, after forwarding a copy to syslog.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 15:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Send-filtered-data-to-syslog-and-not-index-it/m-p/19601#M2787</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-09-09T15:26:02Z</dc:date>
    </item>
  </channel>
</rss>

