<?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: Routing to index based on host not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659292#M111515</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122244"&gt;@cmlombardo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2023 13:41:01 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-10-02T13:41:01Z</dc:date>
    <item>
      <title>Routing to index based on host not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/658980#M111444</link>
      <description>&lt;P&gt;Hello there.&lt;/P&gt;&lt;P&gt;I have IIS logs being ingested into Splunk.&lt;/P&gt;&lt;P&gt;The sourcetype is currently set to "iis:test"&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[iis:test]
TZ = UTC
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TRANSFORMS-8_AssignToIndex = setindex_dev, setindex_qa, setindex_stage, setindex_prod&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setindex_dev]
SOURCE_KEY = MetaData:Host
REGEX = (?i)^host::web-dev-2\d{1}.*$
DEST_KEY = _MetaData:Index
FORMAT = wf_dev_i

[setindex_qa]
SOURCE_KEY = MetaData:Host
REGEX = (?i)^host::web-qa-2\d{1}.*$
DEST_KEY = _MetaData:Index
FORMAT = wf_qa_i

[setindex_stage]
SOURCE_KEY = MetaData:Host
REGEX = (?i)^host::web-stg-2\d{1}.*$
DEST_KEY = _MetaData:Index
FORMAT = wf_stage_i

[setindex_prod]
SOURCE_KEY = MetaData:Host
REGEX = (?i)^host::web-2\d{1}.*$
DEST_KEY = _MetaData:Index
FORMAT = wf_prod_i&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should send the events coming from the host web-dev-20 to the wf_dev_i index. Instead, they go to the main index.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have the same configuration set for other sources and it works fine.&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/658980#M111444</guid>
      <dc:creator>cmlombardo</dc:creator>
      <dc:date>2023-09-28T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Routing to index based on host not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659042#M111450</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122244"&gt;@cmlombardo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;where did you located this props and transforms files?&lt;/P&gt;&lt;P&gt;They must be located in the Indexers or, if present in the first Heavy Forwarder they are passing throgh, not on Universal Forwarder.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 06:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659042#M111450</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-29T06:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Routing to index based on host not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659285#M111509</link>
      <description>&lt;P&gt;Ciao Giuseppe,&lt;/P&gt;&lt;P&gt;props.conf and transforms.conf are on our HFs.&lt;/P&gt;&lt;P&gt;Since my post, I was able to finally find out what happened. The transforms names we chose were already used in other transformations elsewhere. What are the odds? Hilarious.&lt;/P&gt;&lt;P&gt;After checking so many times the syntax and the regexes I decided to take a look at all the transformations in place and found the culprit.&lt;/P&gt;&lt;P&gt;Now that the new transformations have a different name, everything works as expected.&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 13:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659285#M111509</guid>
      <dc:creator>cmlombardo</dc:creator>
      <dc:date>2023-10-02T13:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Routing to index based on host not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659287#M111511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122244"&gt;@cmlombardo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;let me know if I can help you more, or, please, accept one answer (also your own) for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 13:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659287#M111511</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-02T13:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Routing to index based on host not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659292#M111515</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/122244"&gt;@cmlombardo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 13:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-to-index-based-on-host-not-working/m-p/659292#M111515</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-10-02T13:41:01Z</dc:date>
    </item>
  </channel>
</rss>

