<?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: Why are events not routing to specific index based on host? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453050#M78487</link>
    <description>&lt;P&gt;I tried that, and it unfortunately didn't work. I modified the transforms.conf in the cluster master's directory:  $SPLUNK_HOME\etc\master-apps_cluster\local\&lt;/P&gt;

&lt;P&gt;and pushed the configuration to the two indexers, i checked and made sure the config files were there. I cannot figure out why it isn't working.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jul 2018 17:04:19 GMT</pubDate>
    <dc:creator>zayers2</dc:creator>
    <dc:date>2018-07-23T17:04:19Z</dc:date>
    <item>
      <title>Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453048#M78485</link>
      <description>&lt;P&gt;We have radius servers that need to be routed to a specific index. I have written the props.conf and transforms.conf Stanzas and I cannot get them to work. Our indexers are clustered and I made the changes to the .conf files on the cluster master in the directory:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME\etc\master-apps\_cluster\local\
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::coradius.*]
TRANSFORMS-index = coradius_index_transform
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[coradius_index_transform]
SOURCE_KEY = _MetaData:Host
REGEX = ^host::(coradius.*)$
DEST_KEY = _MetaData:Index
FORMAT = radius
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Even after making those changes there are no events in the index. I need some help figuring out why the events from the specific hosts aren't routing to the correct index.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 14:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453048#M78485</guid>
      <dc:creator>zayers2</dc:creator>
      <dc:date>2018-07-20T14:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453049#M78486</link>
      <description>&lt;P&gt;Your transforms.conf stanza should be like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[coradius_index_transform]
 SOURCE_KEY = MetaData:Host
 REGEX = ^coradius.*$
 DEST_KEY = _MetaData:Index
 FORMAT = radius
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jul 2018 17:47:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453049#M78486</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-07-20T17:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453050#M78487</link>
      <description>&lt;P&gt;I tried that, and it unfortunately didn't work. I modified the transforms.conf in the cluster master's directory:  $SPLUNK_HOME\etc\master-apps_cluster\local\&lt;/P&gt;

&lt;P&gt;and pushed the configuration to the two indexers, i checked and made sure the config files were there. I cannot figure out why it isn't working.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 17:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453050#M78487</guid>
      <dc:creator>zayers2</dc:creator>
      <dc:date>2018-07-23T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453051#M78488</link>
      <description>&lt;P&gt;What kind of forwarders do you have in your environment? This settings needs to be applied to place/instance where data parsing happens, so if you're using heavy forwarder (Splunk Enterprise instance as forwarder) OR heavy Intermediate Forwarder (Splunk Enterprise instance which receives data from Universal Forwarder and send it to Indexers), then this should be applied there.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 17:38:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453051#M78488</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-07-23T17:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453052#M78489</link>
      <description>&lt;P&gt;We are using the Universal Forwarder on our servers and sending them to an indexer. The indexer is where the data parsing takers place. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 18:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453052#M78489</guid>
      <dc:creator>zayers2</dc:creator>
      <dc:date>2018-07-23T18:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453053#M78490</link>
      <description>&lt;P&gt;Since your transforms is applied to specified hosts already, give this a try.&lt;BR /&gt;
props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::coradius*]
 TRANSFORMS-index = coradius_index_transform
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [coradius_index_transform]
 REGEX = .
 DEST_KEY = _MetaData:Index
 FORMAT = radius
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Jul 2018 18:22:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453053#M78490</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-07-23T18:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why are events not routing to specific index based on host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453054#M78491</link>
      <description>&lt;P&gt;That solved it! Thank you very much for your input. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 18:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-events-not-routing-to-specific-index-based-on-host/m-p/453054#M78491</guid>
      <dc:creator>zayers2</dc:creator>
      <dc:date>2018-07-23T18:58:33Z</dc:date>
    </item>
  </channel>
</rss>

