<?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 make transforms.conf to pick from the default group of outputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114386#M23929</link>
    <description>&lt;P&gt;update ping&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2014 07:55:46 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-04-03T07:55:46Z</dc:date>
    <item>
      <title>How to make transforms.conf to pick from the default group of outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114382#M23925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We need to forward all events to indexer group_A and filtered events to indexer group_B.&lt;/P&gt;

&lt;P&gt;We are applying some transformations on a data.&lt;BR /&gt;
We are forwarding this data in such a way that the data with transformations are sent to server 'A' and the data without transformations are sent to server 'B'.&lt;/P&gt;

&lt;P&gt;The props, transforms and outputs are given as follows.&lt;/P&gt;

&lt;H3&gt;props.conf&lt;/H3&gt;

&lt;P&gt;[sourcetype]&lt;BR /&gt;
TRANSFORMS-routing=routeAllEvents,routeFilteredEvents&lt;/P&gt;

&lt;H3&gt;transforms.conf&lt;/H3&gt;

&lt;P&gt;[routeAllEvents]&lt;BR /&gt;
REGEX=(.)&lt;BR /&gt;
DEST_KEY=_TCP_ROUTING&lt;BR /&gt;
FORMAT=indexers_group_A&lt;/P&gt;

&lt;P&gt;[routeFilteredEvents]&lt;BR /&gt;
REGEX=(some_filter)&lt;BR /&gt;
DEST_KEY=_TCP_ROUTING&lt;BR /&gt;
FORMAT=indexers_group_A,indexers_group_B&lt;/P&gt;

&lt;H3&gt;outputs.conf&lt;/H3&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
forwardedindex.filter.disable=true&lt;BR /&gt;
defaultGroup=indexers_group_A&lt;/P&gt;

&lt;P&gt;[tcpout:indexers_group_A]&lt;BR /&gt;
server=server1:9997&lt;BR /&gt;
disabled=false&lt;BR /&gt;
autoLB=true&lt;/P&gt;

&lt;P&gt;[tcpout:indexers_group_B]&lt;BR /&gt;
server=server2:9997&lt;BR /&gt;
disabled=false&lt;BR /&gt;
autoLB=true&lt;/P&gt;

&lt;P&gt;[tcpout:indexers_group_C]&lt;BR /&gt;
server=server3:9997&lt;BR /&gt;
disabled=false&lt;BR /&gt;
autoLB=true&lt;/P&gt;

&lt;P&gt;This works fine.&lt;/P&gt;

&lt;P&gt;Question:&lt;/P&gt;

&lt;P&gt;If I want to forward all events (default group) to Indexers_group_C instead of indexer_group_A, I had to change in both outputs.conf and transforms.conf.&lt;BR /&gt;
Is there any way to make transforms.conf to pick from the default group of outputs.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114382#M23925</guid>
      <dc:creator>premg</dc:creator>
      <dc:date>2020-09-28T16:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to make transforms.conf to pick from the default group of outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114383#M23926</link>
      <description>&lt;P&gt;Hi premg,&lt;/P&gt;

&lt;P&gt;Basically you set a default destination for your data in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; and/or in &lt;CODE&gt;outputs.conf&lt;/CODE&gt;. If you want to manage default destinations in one &lt;CODE&gt;.conf&lt;/CODE&gt; file, do it in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;, because &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; from &lt;CODE&gt;transforms.conf&lt;/CODE&gt; will overwrite the &lt;CODE&gt;outputs.conf&lt;/CODE&gt; &lt;CODE&gt;defaultGroup&lt;/CODE&gt; stanza.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 11:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114383#M23926</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-01T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to make transforms.conf to pick from the default group of outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114384#M23927</link>
      <description>&lt;P&gt;Many thanks MuS.&lt;BR /&gt;
I'll leave [routeAllEvents].&lt;BR /&gt;
However, how do Splunk pick up default group in [routeFilteredEvents] stanza?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 07:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114384#M23927</guid>
      <dc:creator>premg</dc:creator>
      <dc:date>2014-04-03T07:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make transforms.conf to pick from the default group of outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114385#M23928</link>
      <description>&lt;P&gt;ok, now I got your point. There is no link and &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; from transforms.conf will over write &lt;CODE&gt;defaultGroup&lt;/CODE&gt; in outputs.conf. If you want to manage default groups in one single file, stick to the &lt;CODE&gt;transforms.conf&lt;/CODE&gt; and configure everything in there.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 07:52:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114385#M23928</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-03T07:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make transforms.conf to pick from the default group of outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114386#M23929</link>
      <description>&lt;P&gt;update ping&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 07:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transforms-conf-to-pick-from-the-default-group-of/m-p/114386#M23929</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-03T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

