<?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 can I override an index name based on sourcetype? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161448#M32719</link>
    <description>&lt;P&gt;Greetings from the future ... &lt;/P&gt;

&lt;P&gt;Yes, you can specify a host name to be used in &lt;CODE&gt;props.conf&lt;/CODE&gt; see the docs for more details &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#GLOBAL_SETTINGS"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#GLOBAL_SETTINGS&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Sun, 17 Mar 2019 20:53:16 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2019-03-17T20:53:16Z</dc:date>
    <item>
      <title>How can I override an index name based on sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161444#M32715</link>
      <description>&lt;P&gt;I want to override the index name of my events (assigned at the forwarder) with a new index name based on sourcetype. &lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 23:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161444#M32715</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-06-18T23:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I override an index name based on sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161445#M32716</link>
      <description>&lt;P&gt;This can be done at the heavy forwarder or indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;On your indexer or heavy forwarder:

# etc/system/local/transforms.conf 
[overrideindex]
DEST_KEY =_MetaData:Index
REGEX = .
FORMAT = my_new_index


#etc/system/local/props.conf 
[mysourcetype]
TRANSFORMS-index = overrideindex
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Jun 2015 23:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161445#M32716</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-06-18T23:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I override an index name based on sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161446#M32717</link>
      <description>&lt;P&gt;you must have the index already configured on the indexers in indexes.conf before sending events to the new index.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 23:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161446#M32717</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-06-18T23:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I override an index name based on sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161447#M32718</link>
      <description>&lt;P&gt;Can I do this based on specific host name, if yes, how?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 12:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161447#M32718</guid>
      <dc:creator>shan_santosh</dc:creator>
      <dc:date>2016-12-07T12:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I override an index name based on sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161448#M32719</link>
      <description>&lt;P&gt;Greetings from the future ... &lt;/P&gt;

&lt;P&gt;Yes, you can specify a host name to be used in &lt;CODE&gt;props.conf&lt;/CODE&gt; see the docs for more details &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#GLOBAL_SETTINGS"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#GLOBAL_SETTINGS&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 20:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-override-an-index-name-based-on-sourcetype/m-p/161448#M32719</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-03-17T20:53:16Z</dc:date>
    </item>
  </channel>
</rss>

