<?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 specifiy incoming source type to a specific index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333235#M174897</link>
    <description>&lt;P&gt;Please see my updated answer.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 20:22:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2017-04-18T20:22:04Z</dc:date>
    <item>
      <title>How to specifiy incoming source type to a specific index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333232#M174894</link>
      <description>&lt;P&gt;I understand you have to modify the indexes.conf, props.conf, and transforms.conf inside of the $SPLUNK/etc/system/local directory but I am completely lost what to fill in. I have the documentation for each file pulled up but I'm still not getting very far.&lt;/P&gt;

&lt;P&gt;The only file I've really changed is the indexes.conf:&lt;/P&gt;

&lt;P&gt;[cisco_asa]&lt;BR /&gt;
sourcetype = cisco:asa&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = cisco_asa&lt;BR /&gt;
frozenTimePeriodInSecs = 15800000&lt;/P&gt;

&lt;P&gt;EDIT:&lt;BR /&gt;
I'm trying to separate my ASA to it's own index for different retention policies and a smaller database. The ASA already comes across splunk as "cisco:asa" so I'm mostly trying to match that source type to a index. Although in the future I'd like to start specifying by IP address to an index. &lt;/P&gt;

&lt;P&gt;I've made some changes and this is what I have but still no luck:&lt;/P&gt;

&lt;P&gt;indexes.conf:&lt;BR /&gt;
[cisco_asa]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
frozenTimePeriodInSecs = 15800000&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[cisco:asa]&lt;BR /&gt;
TRNASFORMS-8_AssignToIndex = cisco:asa&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[cisco:asa]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _Metadata:Index&lt;BR /&gt;
FORMAT = cisco:asa&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333232#M174894</guid>
      <dc:creator>gingerpower121</dc:creator>
      <dc:date>2020-09-29T13:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to specifiy incoming source type to a specific index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333233#M174895</link>
      <description>&lt;P&gt;The most common settings for the indexes.conf file can be set in the GUI by selecting Settings-&amp;gt;Indexes.  In your example, the &lt;CODE&gt;sourcetype&lt;/CODE&gt; and &lt;CODE&gt;index&lt;/CODE&gt; attributes are not valid in indexes.conf.  The index name is set by the stanza name and &lt;CODE&gt;sourcetype&lt;/CODE&gt; goes in props.conf.  You use &lt;CODE&gt;index&lt;/CODE&gt; in inputs.conf.&lt;/P&gt;

&lt;P&gt;Be careful to not confuse the documentation for each config file.  Attributes for one file do not necessarily apply to others.&lt;/P&gt;

&lt;P&gt;I think you're close with your transforms attributes.  Try &lt;CODE&gt;FORMAT = cisco_asa&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 14:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333233#M174895</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-18T14:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to specifiy incoming source type to a specific index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333234#M174896</link>
      <description>&lt;P&gt;My goal is to move my ASA to a different index for a smaller retention policy and less storage.  The ASA sourcetype already shows up as being "cisco:asa" so I'm mostly trying to match that source type to an index. Although in the future I would like to setup indexes by IP address.&lt;/P&gt;

&lt;P&gt;I've made a few changes to my config:&lt;/P&gt;

&lt;P&gt;index.conf:&lt;BR /&gt;
[cisco_asa]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
frozenTimePeriodInSecs = 15800000&lt;/P&gt;

&lt;P&gt;props.config:&lt;BR /&gt;
[cisco:asa]&lt;BR /&gt;
TRNASFORMS-8_AssignToIndex = cisco:asa&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[cisco:asa]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _Metadata:Index&lt;BR /&gt;
FORMAT = cisco:asa&lt;/P&gt;

&lt;P&gt;Still no luck but any idea what I'm missing?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 14:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333234#M174896</guid>
      <dc:creator>gingerpower121</dc:creator>
      <dc:date>2017-04-18T14:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to specifiy incoming source type to a specific index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333235#M174897</link>
      <description>&lt;P&gt;Please see my updated answer.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 20:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333235#M174897</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-04-18T20:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to specifiy incoming source type to a specific index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333236#M174898</link>
      <description>&lt;P&gt;Changed last line to cisco_asa but still didn't switch.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 20:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-specifiy-incoming-source-type-to-a-specific-index/m-p/333236#M174898</guid>
      <dc:creator>gingerpower121</dc:creator>
      <dc:date>2017-04-18T20:50:38Z</dc:date>
    </item>
  </channel>
</rss>

