<?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 send syslog data to the indexer and another TCP listener? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355647#M64995</link>
    <description>&lt;P&gt;Your props.conf looks correct (your just routeAll since you're sending all data)&lt;BR /&gt;
Your transforms.conf needs correction. The FORMAT should include both the tcpout group as you want to copy the data to both destination (Everything for your indexer and Subsidiary for your third party app).&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 19:19:41 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-12-21T19:19:41Z</dc:date>
    <item>
      <title>How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355642#M64990</link>
      <description>&lt;P&gt;Need a little help as I have not set this up before.&lt;BR /&gt;
Here is my scenario.&lt;/P&gt;

&lt;P&gt;I have an APP that can only send syslog data to one destination.&lt;BR /&gt;
I have an HF configured to receive syslog data UDP.&lt;BR /&gt;
I want to send the APP syslog data to a HF.&lt;BR /&gt;
I need the HF to send the data to the indexer and another destination.&lt;/P&gt;

&lt;P&gt;I want the data to go to splunk (cooked), but I want the data to go to the other destination (uncooked).&lt;/P&gt;

&lt;P&gt;Please advise the best way to configure this.&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 16:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355642#M64990</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2017-12-21T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355643#M64991</link>
      <description>&lt;P&gt;You can refer to following Splunk documentation to learn about Splunk routing.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad#Replicate_a_subset_of_data_to_a_third-party_system"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Routeandfilterdatad#Replicate_a_subset_of_data_to_a_third-party_system&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The example in above post sends all data to Indexer and selected data to third party.  If you want to send all data to both Indexers and third party system, you'd use just routeAll.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[routeAll]
REGEX=(.)
DEST_KEY=_TCP_ROUTING
FORMAT=Subsidiary,Everything
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To send the uncooked data to third party, you'd set sendCookedData to false in outputs.conf entry for third party system.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Forwarddatatothird-partysystemsd"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Forwarding/Forwarddatatothird-partysystemsd&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 16:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355643#M64991</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-12-21T16:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355644#M64992</link>
      <description>&lt;P&gt;Thank you, I will take a look.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 16:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355644#M64992</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2017-12-21T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355645#M64993</link>
      <description>&lt;P&gt;So if I am understanding correctly, I will edit the HF's props.conf, transforms.conf, and outputs.conf as follows:&lt;/P&gt;

&lt;P&gt;Edit $SPLUNK_HOME/etc/system/local/props.conf&lt;/P&gt;

&lt;P&gt;[syslog]&lt;BR /&gt;
TRANSFORMS-routing = routeAll    &amp;lt;----- do I need route subset if I am sending all to both?&lt;/P&gt;

&lt;P&gt;Edit $SPLUNK_HOME/etc/system/local/transforms.conf&lt;/P&gt;

&lt;P&gt;[routeAll]&lt;BR /&gt;
REGEX=(.)&lt;BR /&gt;
DEST_KEY=_TCP_ROUTING&lt;BR /&gt;
FORMAT=Everything&lt;/P&gt;

&lt;P&gt;Edit $SPLUNK_HOME/etc/system/local/outputs.conf&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup=nothing&lt;/P&gt;

&lt;P&gt;[tcpout:Everything]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
server=x.x.x.x:9997   &amp;lt;---- my splunk indexer&lt;/P&gt;

&lt;P&gt;[tcpout:Subsidiary]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
sendCookedData=false&lt;BR /&gt;
server=x.x.x.x:1234   &amp;lt;---- the 3rd party app&lt;/P&gt;

&lt;P&gt;Does that look right?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:21:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355645#M64993</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2020-09-29T17:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355646#M64994</link>
      <description>&lt;P&gt;Hey @log_wrangler (sweet username!) your comment is posted now! The submissions were in the mod queue. Sorry if that was frustrating. If you get 6 more karma points your posts will only be moderated if they meet the other standard criteria. (30 points). Actually, I'll upvote your comment so you're in the clear. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:16:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355646#M64994</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-12-21T19:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355647#M64995</link>
      <description>&lt;P&gt;Your props.conf looks correct (your just routeAll since you're sending all data)&lt;BR /&gt;
Your transforms.conf needs correction. The FORMAT should include both the tcpout group as you want to copy the data to both destination (Everything for your indexer and Subsidiary for your third party app).&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355647#M64995</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-12-21T19:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355648#M64996</link>
      <description>&lt;P&gt;Thank you Somesoni!!   If you don't mind... I actually created a part 2 question.   Please take a look at that question.  There is an additional criterion to my scenario.  Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355648#M64996</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2017-12-21T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355649#M64997</link>
      <description>&lt;P&gt;@lfedak,  Thank you for the upvote.   Can you please post my (Part 2) question when you have time?  &lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:28:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355649#M64997</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2017-12-21T19:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to send syslog data to the indexer and another TCP listener?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355650#M64998</link>
      <description>&lt;P&gt;Please post my second part question&lt;/P&gt;

&lt;P&gt;How to send syslog data to the indexer and another TCP listener? (Part 2)&lt;/P&gt;

&lt;P&gt;It is "awaiting moderation".&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 20:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-send-syslog-data-to-the-indexer-and-another-TCP-listener/m-p/355650#M64998</guid>
      <dc:creator>Log_wrangler</dc:creator>
      <dc:date>2017-12-21T20:09:34Z</dc:date>
    </item>
  </channel>
</rss>

