<?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 same data to multiple separate splunk instances- UF in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33789#M7206</link>
    <description>&lt;P&gt;How does it work if not the defaultGroup, and we are using _TCP_ROUTING as in my example?&lt;/P&gt;

&lt;P&gt;i.e some data in default group is being sent instance A.&lt;/P&gt;

&lt;P&gt;we use tcp routing to send data to other locations.&lt;/P&gt;

&lt;P&gt;should this work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///app/logs/work/*]
_TCP_ROUTING=Location1;Location2
index = test1
sourcetype = work
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:34:02 GMT</pubDate>
    <dc:creator>r999</dc:creator>
    <dc:date>2020-09-28T14:34:02Z</dc:date>
    <item>
      <title>How to send same data to multiple separate splunk instances- UF</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33786#M7203</link>
      <description>&lt;P&gt;I have a splunk UF on a Linux server. (4.3.6)&lt;/P&gt;

&lt;P&gt;I want to send the local log files to 2 separate splunk instances, so both get a copy of the exact same data. (not autoLB across 2, not send different data to each one)&lt;/P&gt;

&lt;P&gt;how can I do this from a UF?&lt;/P&gt;

&lt;P&gt;Outputs.conf has two groups defined called Location1 and Location2&lt;/P&gt;

&lt;P&gt;like this&lt;/P&gt;

&lt;P&gt;1)specify multiple groups:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///app/logs/work/*]
_TCP_ROUTING=Location1;Location2
index = test1
sourcetype = work
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2) repeat same monitor stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///app/logs/work/*]
_TCP_ROUTING=Location1
index = test1
sourcetype = work

[monitor:///app/logs/work/*]
_TCP_ROUTING=Location2
index = test1
sourcetype = work
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3) I though of using &lt;CODE&gt;indexAndForward&lt;/CODE&gt; but I don’t want any transforms/props to take place from say Location1 before it sends to Location2, and I don’t really want Location 1 to be a dependency for Location2.&lt;/P&gt;

&lt;P&gt;Advice please&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 22:29:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33786#M7203</guid>
      <dc:creator>r999</dc:creator>
      <dc:date>2013-08-13T22:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data to multiple separate splunk instances- UF</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33787#M7204</link>
      <description>&lt;P&gt;Perhaps are you talking about Data Cloning?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Deploy/Configureforwarderswithoutputs.confd#Types_of_outputs.conf_files"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/Deploy/Configureforwarderswithoutputs.confd#Types_of_outputs.conf_files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 22:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33787#M7204</guid>
      <dc:creator>wagnerbianchi</dc:creator>
      <dc:date>2013-08-13T22:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data to multiple separate splunk instances- UF</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33788#M7205</link>
      <description>&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;

&lt;P&gt;The forwarder will send duplicate data streams to the servers specified in both the indexer1 and indexer2 target groups.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 22:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33788#M7205</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-13T22:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data to multiple separate splunk instances- UF</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33789#M7206</link>
      <description>&lt;P&gt;How does it work if not the defaultGroup, and we are using _TCP_ROUTING as in my example?&lt;/P&gt;

&lt;P&gt;i.e some data in default group is being sent instance A.&lt;/P&gt;

&lt;P&gt;we use tcp routing to send data to other locations.&lt;/P&gt;

&lt;P&gt;should this work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///app/logs/work/*]
_TCP_ROUTING=Location1;Location2
index = test1
sourcetype = work
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33789#M7206</guid>
      <dc:creator>r999</dc:creator>
      <dc:date>2020-09-28T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to send same data to multiple separate splunk instances- UF</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33790#M7207</link>
      <description>&lt;P&gt;Use the below two .conf on the source where you are trying to send data !!!!&lt;/P&gt;

&lt;P&gt;inputs.conf &lt;/P&gt;

&lt;P&gt;[monitor:///app/logs/work/*]&lt;BR /&gt;
 sourcetype = work&lt;BR /&gt;
 index = test1&lt;/P&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
defaultGroup=indexerGroup1,indexerGroup2&lt;/P&gt;

&lt;P&gt;[tcpout:indexerGroup1]&lt;BR /&gt;
server=server1:9997&lt;/P&gt;

&lt;P&gt;[tcpout:indexerGroup2]&lt;BR /&gt;
server=server2:9997&lt;/P&gt;

&lt;P&gt;At the receiver side have the below configuration.&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;P&gt;[splunktcp://9997]&lt;/P&gt;

&lt;P&gt;[splunktcp://9997]&lt;BR /&gt;
_TCP_ROUTING=indexerGroup1&lt;/P&gt;

&lt;P&gt;[splunktcp://9997]&lt;BR /&gt;
_TCP_ROUTING=indexerGroup2&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Arun&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-send-same-data-to-multiple-separate-splunk-instances-UF/m-p/33790#M7207</guid>
      <dc:creator>arunsunny</dc:creator>
      <dc:date>2020-09-29T15:34:54Z</dc:date>
    </item>
  </channel>
</rss>

