<?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 specific index data to a 3rd party? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395964#M7770</link>
    <description>&lt;P&gt;This post is not stale, I have been working diligently to try and find the solution on my own...&lt;BR /&gt;&lt;BR /&gt;
The linked article is similar to other articles I have found and tried in the past. &lt;BR /&gt;
I was not able to properly adapt the linked article to do what I need, and instead redirected all the logs to the device again.&lt;/P&gt;

&lt;P&gt;I have a single splunk node/instance, which is receiving a multitude of data points into many separate indexes.  There are no other heavy forwarders in the environment.  I want to take data that is being ingested into a dedicated index and either replicate it, or forward it entirely (I don't care that splunk has the data)  to a 3rd party device on 514.  This data is not Syslog formatted, so I will be using the sendCookedData=false flag.&lt;/P&gt;

&lt;P&gt;Ultimately, we have a need to monitor security logs from a product that is cloud based app.  There is a dedicated SplunkApp to download this data from the cloud into our prem which is installed and operating properly.  I need to get this data to a non-splunk SIEM, and the device can't reach out to the Cloud itself, so I am trying to use Splunk as a relay of sorts.  &lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 25 May 2018 15:11:55 GMT</pubDate>
    <dc:creator>rkhalu</dc:creator>
    <dc:date>2018-05-25T15:11:55Z</dc:date>
    <item>
      <title>How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395962#M7768</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Im a noobja not a ninja.  I have a Windows based Splunk Enterprise single node index running 7.0.2.  I'm trying to use it as a relay of sorts, I have a dataset coming into dedicated index, and I'd like to either forward that data or mirror the data to a 3rd party.  There is no requirement to keep the data in splunk otherwise.  I've read around quite a bit and I'm probably close, but I can't seem to get something right - so far I've only been successful at redirecting all the data to 3rd party, not a subset of data as preferred.   When I apply my settings, I no longer see data real time in my splunk environment, but I do see data at the 3rd party endpoint.&lt;/P&gt;

&lt;P&gt;I'm confused if I can use the index itself as a heavy forwarder, I didn't find a props.conf file so I created one in C:\Program Files\Splunk\etc\system\local.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-outputs.conf-
[tcpout]
defaultGroup=nothing

[tcpout:3rdPartyDest]
server=aaa.bbb.ccc.ddd:514
type=tcp
sendCookedData=false

-props.conf-
[source]
TRANSFORMS-routing = transforms_3rdParty

-transforms.conf-
[SiteCode] (already existed)
filename = SiteCode.csv

[transforms_3rdParty]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=3rdPartyDest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've seen reference to indexAndForward flags as well as setting the output default group to nothing, but I can't seem to get the right combo working properly and don't want to redirect our flow via trial and error anymore.&lt;BR /&gt;
Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 17:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395962#M7768</guid>
      <dc:creator>rkhalu</dc:creator>
      <dc:date>2018-05-10T17:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395963#M7769</link>
      <description>&lt;P&gt;Try this and make sure you are following the order in the .conf files&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Replicate_a_subset_of_data_to_a_third-party_system"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad#Replicate_a_subset_of_data_to_a_third-party_system&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395963#M7769</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-05-11T04:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395964#M7770</link>
      <description>&lt;P&gt;This post is not stale, I have been working diligently to try and find the solution on my own...&lt;BR /&gt;&lt;BR /&gt;
The linked article is similar to other articles I have found and tried in the past. &lt;BR /&gt;
I was not able to properly adapt the linked article to do what I need, and instead redirected all the logs to the device again.&lt;/P&gt;

&lt;P&gt;I have a single splunk node/instance, which is receiving a multitude of data points into many separate indexes.  There are no other heavy forwarders in the environment.  I want to take data that is being ingested into a dedicated index and either replicate it, or forward it entirely (I don't care that splunk has the data)  to a 3rd party device on 514.  This data is not Syslog formatted, so I will be using the sendCookedData=false flag.&lt;/P&gt;

&lt;P&gt;Ultimately, we have a need to monitor security logs from a product that is cloud based app.  There is a dedicated SplunkApp to download this data from the cloud into our prem which is installed and operating properly.  I need to get this data to a non-splunk SIEM, and the device can't reach out to the Cloud itself, so I am trying to use Splunk as a relay of sorts.  &lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 15:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395964#M7770</guid>
      <dc:creator>rkhalu</dc:creator>
      <dc:date>2018-05-25T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395965#M7771</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Did you find solution to this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395965#M7771</guid>
      <dc:creator>ppuru</dc:creator>
      <dc:date>2019-01-15T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395966#M7772</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
If you want to clone data on your splunk and 3rd party splunk, then you can use following outputs.conf configurations&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup=indexer1,indexer2&lt;/P&gt;

&lt;P&gt;[tcpout:indexer1]&lt;BR /&gt;
server=10.1.1.197:9997&lt;/P&gt;

&lt;P&gt;[tcpout:indexer2]&lt;BR /&gt;
server=10.1.1.200:9997 &lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395966#M7772</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2019-01-15T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395967#M7773</link>
      <description>&lt;P&gt;What if the 3rd party is not a Splunk instance, but a system capable of processing inbound syslog from Splunk.&lt;BR /&gt;
I know we can forward newly indexed data from Splunk to such a 3rd party system, but can we replicate historical Splunk indexed data?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395967#M7773</guid>
      <dc:creator>ppuru</dc:creator>
      <dc:date>2019-01-15T12:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395968#M7774</link>
      <description>&lt;P&gt;I did get it working, although it's also forwarding information from other areas of splunk I don't need so it's far form a perfect implementation.  As a result I am dropping unneeded data at the other side, but in my case it's not causing any harm.  Hopefully between the 3 conf files below you can put together what I am doing, I redacted the content.&lt;/P&gt;

&lt;P&gt;In this implementation, I am downloading data from a 3rd party's API via the appropriate Splunk App (getting it into Splunk wasn't the hard part), I believe I am not processing it,or storing it locally, and then forwarding it off to a separate non splunk log collector (via syslog port, but maybe not in full syslog format) for additional analysis.  &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Outputs.conf&lt;/STRONG&gt;&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
indexAndForward=true&lt;/P&gt;

&lt;P&gt;[tcpout:&lt;EM&gt;&lt;EM&gt;name of 3rd party&lt;/EM&gt;&lt;/EM&gt;]&lt;BR /&gt;
disabled=false&lt;BR /&gt;
sendCookedData=false&lt;BR /&gt;
server=&lt;EM&gt;&lt;EM&gt;OTHERSYSLOGDEVICE&lt;/EM&gt;&lt;/EM&gt;:514&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://community.splunk.com/I%20had%20to%20do%20significant%20trial%20and%20error%20on%20getting%20the%20right%20source%20from%20the%20data%20I%20was%20seeing%20in%20splunk" target="_blank"&gt;source::&lt;EM&gt;SOURCE&lt;/EM&gt;&lt;/A&gt;&lt;BR /&gt;
TRANSFORMS-routing=&lt;EM&gt;&lt;EM&gt;Transforms_Stanza&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;
[SiteCode]&lt;BR /&gt;
filename = SiteCode.csv &lt;EM&gt;I THINK THIS IS IRRELEVANT, PREEXISTING&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;[&lt;EM&gt;&lt;EM&gt;Transforms_Stanza&lt;/EM&gt;&lt;/EM&gt;]&lt;BR /&gt;
REGEX=&lt;EM&gt;&lt;EM&gt;SOURCE&lt;/EM&gt;&lt;/EM&gt;&lt;BR /&gt;
DEST_KEY=&lt;EM&gt;TCP_ROUTING&lt;BR /&gt;
FORMAT=*_name of 3rd party&lt;/EM&gt;*&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395968#M7774</guid>
      <dc:creator>rkhalu</dc:creator>
      <dc:date>2020-09-29T22:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395969#M7775</link>
      <description>&lt;P&gt;I replied above, I am successfully forwarding to a separate syslog (non splunk) device but I know there are some formatting issues, so I'm not entirely confident that my implementation is forwarding true Syslog formatted data.  I think if you process (cook) it then it can re-send it in a different format.  my intention was to not process too much of it, and ideally I didn't need it stored on splunk, I was just using it as a means to get the data from 3rd party to the other syslog collector that's not capable of natively leveraging the API from the 3rd party itself.&lt;/P&gt;

&lt;P&gt;I don't know about forwarding the historical data you have already, my process relies on forwarding the data it is ingesting in real time.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 22:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395969#M7775</guid>
      <dc:creator>rkhalu</dc:creator>
      <dc:date>2019-01-15T22:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395970#M7776</link>
      <description>&lt;P&gt;Yes, but you will have to move historical data manually by moving buckets &lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 06:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395970#M7776</guid>
      <dc:creator>nikita_p</dc:creator>
      <dc:date>2019-01-16T06:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward specific index data to a 3rd party?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395971#M7777</link>
      <description>&lt;P&gt;No, but it is a MDR service in the similar vein of Rapid7.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 15:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-forward-specific-index-data-to-a-3rd-party/m-p/395971#M7777</guid>
      <dc:creator>rkhalu</dc:creator>
      <dc:date>2019-02-26T15:41:09Z</dc:date>
    </item>
  </channel>
</rss>

