<?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: Cloning set of data to specified Splunk indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cloning-set-of-data-to-specified-Splunk-indexer/m-p/110406#M23187</link>
    <description>&lt;P&gt;That approach looks correct to me. Define a default output group ( &lt;CODE&gt;splunk_idx&lt;/CODE&gt; in your config), create another output group ( &lt;CODE&gt;routing_idx&lt;/CODE&gt; ), and selectively send some data to it via a &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt; modifying &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt;. This statement is redundant and can be removed: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-routing= allRouting
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would ensure that you are putting these settings on the Splunk instance that is doing the Parsing phase of the &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;data lifecycle&lt;/A&gt;. (The first Heavy Forwarder or Indexer that the data hits.) Then, check that the relevant settings are actually going into place, by using btool. Etc/system/local is the location that can not be overridden by any other location, except if you are on a cluster peer. See the &lt;A href="https://community.splunk.com/"&gt;precedence rules&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2015 11:31:28 GMT</pubDate>
    <dc:creator>Jason</dc:creator>
    <dc:date>2015-03-30T11:31:28Z</dc:date>
    <item>
      <title>Cloning set of data to specified Splunk indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cloning-set-of-data-to-specified-Splunk-indexer/m-p/110405#M23186</link>
      <description>&lt;P&gt;Hello, all&lt;BR /&gt;
I faced with problem of tcp routing. As I know there is a bug with _TCP_ROUTING of modular inputs.&lt;/P&gt;

&lt;P&gt;How can I make Splunk forward data from my heavy forwarder such way that all data routes to first group of indexers but some data set also clones to another server. On my HF I have a lot of apps with data sources and its specification.&lt;/P&gt;

&lt;P&gt;I tried to specify  only  blacklist in outputs.conf for clone group but it doesnot work.&lt;BR /&gt;
so now my configs looks like &lt;BR /&gt;
what is way to resolve this case? - &lt;/P&gt;

&lt;P&gt;inputs.conf (in &lt;CODE&gt;etc\apps\myapp\local&lt;/CODE&gt;) for data which  should be cloned&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://$SPLUNK_HOME/bin/scripts/script.sh]
disabled = false
index=myindex
sourcetype=routedsourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf in &lt;CODE&gt;etc\system\local&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-routing= allRouting

[routedsourcetype]
TRANSFORMS-routing= specrouting
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf in &lt;CODE&gt;etc\system\local&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[allRouting]
REGEX=(.)
DEST_KEY=_TCP_ROUTING
FORMAT=splunk_idx

[specrouting]
REGEX=(.)
DEST_KEY=_TCP_ROUTING
FORMAT=splunk_idx,routing_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf in &lt;CODE&gt;\etc\apps\outputapp\local&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = splunk_idx
maxQueueSize = auto
forwardedindex.0.whitelist = .*
forwardedindex.1.blacklist = _.*
forwardedindex.2.whitelist = (_audit|_internal)
forwardedindex.filter.disable = false
indexAndForward = false
autoLBFrequency = 30
blockOnCloning = true
compressed = false
disabled = false
dropClonedEventsOnQueueFull = 5
dropEventsOnQueueFull = -1
heartbeatFrequency = 90
maxFailuresPerInterval = 2
secsInFailureInterval = 1
maxConnectionsPerIndexer = 2
forceTimebasedAutoLB = false
sendCookedData = true
connectionTimeout = 20 
readTimeout = 300
writeTimeout = 300 
useACK = true

[tcpout:splunk_idx]
server=splunk-idx01:9997,splunk-idx02:9997
useACK=true
autoLB=true

[tcpout:routing_idx]
disabled=false
useACK=false
server=routing_server:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cloning-set-of-data-to-specified-Splunk-indexer/m-p/110405#M23186</guid>
      <dc:creator>andrey2007</dc:creator>
      <dc:date>2020-09-28T19:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning set of data to specified Splunk indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cloning-set-of-data-to-specified-Splunk-indexer/m-p/110406#M23187</link>
      <description>&lt;P&gt;That approach looks correct to me. Define a default output group ( &lt;CODE&gt;splunk_idx&lt;/CODE&gt; in your config), create another output group ( &lt;CODE&gt;routing_idx&lt;/CODE&gt; ), and selectively send some data to it via a &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt; modifying &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt;. This statement is redundant and can be removed: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-routing= allRouting
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would ensure that you are putting these settings on the Splunk instance that is doing the Parsing phase of the &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;data lifecycle&lt;/A&gt;. (The first Heavy Forwarder or Indexer that the data hits.) Then, check that the relevant settings are actually going into place, by using btool. Etc/system/local is the location that can not be overridden by any other location, except if you are on a cluster peer. See the &lt;A href="https://community.splunk.com/"&gt;precedence rules&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cloning-set-of-data-to-specified-Splunk-indexer/m-p/110406#M23187</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2015-03-30T11:31:28Z</dc:date>
    </item>
  </channel>
</rss>

