<?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: How to forward an index to third party syslog using heavy forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238830#M46388</link>
    <description>&lt;P&gt;If you have already ingested and indexed the events...why are you syslogging them at all?  You already have them in Splunk, the greatest software on the planet.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2016 14:37:38 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2016-03-14T14:37:38Z</dc:date>
    <item>
      <title>How to forward an index to third party syslog using heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238826#M46384</link>
      <description>&lt;P&gt;I have an index &lt;CODE&gt;test_index&lt;/CODE&gt; collecting &lt;CODE&gt;http&lt;/CODE&gt; logs and I want to forward to another syslog server.  I have &lt;CODE&gt;outputs.conf&lt;/CODE&gt;, &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transform.conf&lt;/CODE&gt; as such:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;outputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[syslog]&lt;BR /&gt;
defaultGroup=syslogGroup&lt;BR /&gt;
type=tcp&lt;/P&gt;

&lt;P&gt;[syslog:syslogGroup]&lt;BR /&gt;
server = 192.168.22.101:514&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup = raw_tcp_out&lt;BR /&gt;
forwardedindex.0.whitelist = &lt;BR /&gt;
forwardedindex.1.blacklist = &lt;BR /&gt;
forwardedindex.2.whitelist = &lt;BR /&gt;
indexAndForward = true&lt;BR /&gt;
sendCookedData = false&lt;BR /&gt;
forwardedindex.0.whitelist = test_index&lt;/P&gt;

&lt;P&gt;[tcpout:raw_tcp_out]&lt;BR /&gt;
server = 192.168.22.101:514&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[host::192.168.22.101]&lt;BR /&gt;
TRANSFORMS-kiwi = send_to_syslog&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;&lt;CODE&gt;transform.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[send_to_syslog]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;
FORMAT = syslogGroup&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;When I check with the destination syslog server 192.168.22.101, it is logging a lot of events which are not from &lt;CODE&gt;test_index&lt;/CODE&gt;. Is there anything wrong with  config files ? I a using 6.3.3 latest Splunk heavy forwarder.&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238826#M46384</guid>
      <dc:creator>michael_lee</dc:creator>
      <dc:date>2020-09-29T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward an index to third party syslog using heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238827#M46385</link>
      <description>&lt;P&gt;In your outputs.conf why do you have multiple blank whitelists and blacklist?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = raw_tcp_out
**forwardedindex.0.whitelist = 
forwardedindex.1.blacklist = 
forwardedindex.2.whitelist =** 
indexAndForward = true
sendCookedData = false
forwardedindex.0.whitelist = test_index
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Mar 2016 14:40:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238827#M46385</guid>
      <dc:creator>ryandg</dc:creator>
      <dc:date>2016-03-11T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward an index to third party syslog using heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238828#M46386</link>
      <description>&lt;P&gt;I have added something like this. Is this correct? First, I blacklist everything that I don't need to be forwarded. Then lastly the whitelist.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; forwardedindex.1.blacklist = _*
 forwardedindex.2.blacklist = main
 forwardedindex.0.whitelist = my_index_to_forward
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 12 Mar 2016 15:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238828#M46386</guid>
      <dc:creator>michael_lee</dc:creator>
      <dc:date>2016-03-12T15:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward an index to third party syslog using heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238829#M46387</link>
      <description>&lt;P&gt;try removing the blacklists and just having the whitelist. It's redundant to do a whitelist and a blacklist.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 13:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238829#M46387</guid>
      <dc:creator>ryandg</dc:creator>
      <dc:date>2016-03-14T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward an index to third party syslog using heavy forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238830#M46388</link>
      <description>&lt;P&gt;If you have already ingested and indexed the events...why are you syslogging them at all?  You already have them in Splunk, the greatest software on the planet.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 14:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-an-index-to-third-party-syslog-using-heavy/m-p/238830#M46388</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-03-14T14:37:38Z</dc:date>
    </item>
  </channel>
</rss>

