<?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: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362352#M66061</link>
    <description>&lt;P&gt;Unless you suggest to create separate splunktcp inputs for each (group of) forwarder(s), my question is: how to "specify &lt;STRONG&gt;forwarder specific&lt;/STRONG&gt; settings for _INDEX_AND_FORWARD_ROUTING or _TCP_ROUTING parameters"?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:16:22 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2020-09-29T19:16:22Z</dc:date>
    <item>
      <title>Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362347#M66056</link>
      <description>&lt;P&gt;Is there a way to make forwarding/indexing decisions in Splunk config files based on the sending Splunk server regardless of the contents event data?&lt;/P&gt;

&lt;P&gt;Background:&lt;/P&gt;

&lt;P&gt;We have several Splunk servers (lets call them, A,B,C,D,E). Each server receives logs from several hosts and sources.  We are need to forward data based on what Splunk server (not the host, source, or sourcetype) sent the logs.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;Splunk servers A, B and C forward their logs to Splunk server D.  If Splunk server D received data from Splunk server C, Splunk server D must index+forward the data to Splunk server E (regardless of the event details).  Splunk server D will only index, and not forward, logs forwarded from Splunk servers A and B.&lt;/P&gt;

&lt;P&gt;Please note: Clustering is not an option in our environment&lt;/P&gt;

&lt;P&gt;Thank you for any feedback&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:02:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362347#M66056</guid>
      <dc:creator>bryanrobertson</dc:creator>
      <dc:date>2018-04-25T17:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362348#M66057</link>
      <description>&lt;P&gt;Hi Bryanrobertson,&lt;/P&gt;

&lt;P&gt;Yes you can specify  _INDEX_AND_FORWARD_ROUTING or _TCP_ROUTING  under the  following stanza&lt;/P&gt;

&lt;P&gt;See the inputs.conf doc for more details on that stanza&lt;/P&gt;

&lt;P&gt;Hope this helps, goodluck! - David&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362348#M66057</guid>
      <dc:creator>David_Naylor</dc:creator>
      <dc:date>2020-09-29T19:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362349#M66058</link>
      <description>&lt;P&gt;How exactly will that help his need to make routing decisions based on which upstream forwarder was sending?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 08:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362349#M66058</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-26T08:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362350#M66059</link>
      <description>&lt;P&gt;I assume you are aware of the generic configuration options for routing data and such? &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically, you will need something in the events that identifies the forwarder it came from. If you happen to have that (e.g. source value contains a file path that includes a forwarder specific piece), you could use that for the filtering, but I would expect you probably have some data sources where you do not have such identifying info in the event?&lt;/P&gt;

&lt;P&gt;One solution you could look at is configure multiple splunktcp inputs (separate ports) on forwarder D, each with its own related forwarding and indexing config and then send A and B to one input and C to the other. But while that is a nice idea with a handful of forwarders like your example, this could become a bit complicated if the real situation is much more complex.&lt;/P&gt;

&lt;P&gt;Alternatively you may just have to rethink your architecture and not send data from C to D in the first place, but get it to E directly or through another intermediate forwarder F.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 08:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362350#M66059</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-26T08:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362351#M66060</link>
      <description>&lt;P&gt;My theory was, that on the intermediate forwarder's input.conf you can specify the following stanza&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Forwarder-specific settings for splunktcp.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Receivers use this input stanza.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;This is the same as the [tcp://] stanza, except the remote server is assumed&lt;BR /&gt;
to be a Splunk instance, most likely a forwarder.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Under that stanza they should be able to specify forwarder specific settings for _INDEX_AND_FORWARD_ROUTING or _TCP_ROUTING parameters to route the events on a per forwarder basis. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362351#M66060</guid>
      <dc:creator>David_Naylor</dc:creator>
      <dc:date>2020-09-29T19:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362352#M66061</link>
      <description>&lt;P&gt;Unless you suggest to create separate splunktcp inputs for each (group of) forwarder(s), my question is: how to "specify &lt;STRONG&gt;forwarder specific&lt;/STRONG&gt; settings for _INDEX_AND_FORWARD_ROUTING or _TCP_ROUTING parameters"?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362352#M66061</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2020-09-29T19:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362353#M66062</link>
      <description>&lt;P&gt;Thank you. After reading over the inputs.conf specs file more, I think grouping the forwarders under the splunktcp stanza and using TCP_ROUTING will work for our case. I will give it a go next week&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 23:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362353#M66062</guid>
      <dc:creator>bryanrobertson</dc:creator>
      <dc:date>2018-04-27T23:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362354#M66063</link>
      <description>&lt;P&gt;Thank you. These are all good ideas. I have read over the “Route and filter data” and I use props.conf and transforms.conf in other places for routing purposes. The event data is so different in some cases that there are no easily repeatable patterns to make routing decisions.  In the long term I am going to make the data easier to identify (separate indexes or create custom fields at index time), but all of that would require a lot of work for our setup.&lt;BR /&gt;
I am going to try the multiple splunktcp inputs next week as that sounds like the easiest for our environment. &lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 23:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362354#M66063</guid>
      <dc:creator>bryanrobertson</dc:creator>
      <dc:date>2018-04-27T23:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make forwarding/indexing decisions based on which Splunk server sent the data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362355#M66064</link>
      <description>&lt;P&gt;Alright, good luck! Looking forward to hear if you succeeded &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Apr 2018 10:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-make-forwarding-indexing-decisions-based-on/m-p/362355#M66064</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-28T10:33:15Z</dc:date>
    </item>
  </channel>
</rss>

