<?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 Receiver to certain index in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57501#M767</link>
    <description>&lt;P&gt;I'd like to route received data (Receiver) to a certain index. I set an "index" in the "inputs.conf" but this didn't work. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997]
connection_host = ip
index = win_native
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I did: I configured a receiver on my splunk server and prepared an index on another partition that has enough space. (Index=win_native) &lt;BR /&gt;&lt;BR /&gt;
I would like to route all incoming data on that port (9997) to another index instead of the "main" index. The main index is located on a partition with only 5GB space. &lt;/P&gt;

&lt;P&gt;I tried to accomplish this with the following changes but this didn't work neither. &lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventlog:Security]
TRANSFORMS-towinnativeindex = winnativeindex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[winnativeindex]
REGEX = .*
DEST_KEY = _MetaData:Index
FORMAT = win_native
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas? &lt;/P&gt;</description>
    <pubDate>Sun, 08 Sep 2013 09:38:20 GMT</pubDate>
    <dc:creator>FRoth</dc:creator>
    <dc:date>2013-09-08T09:38:20Z</dc:date>
    <item>
      <title>Receiver to certain index</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57501#M767</link>
      <description>&lt;P&gt;I'd like to route received data (Receiver) to a certain index. I set an "index" in the "inputs.conf" but this didn't work. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997]
connection_host = ip
index = win_native
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I did: I configured a receiver on my splunk server and prepared an index on another partition that has enough space. (Index=win_native) &lt;BR /&gt;&lt;BR /&gt;
I would like to route all incoming data on that port (9997) to another index instead of the "main" index. The main index is located on a partition with only 5GB space. &lt;/P&gt;

&lt;P&gt;I tried to accomplish this with the following changes but this didn't work neither. &lt;/P&gt;

&lt;P&gt;In props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventlog:Security]
TRANSFORMS-towinnativeindex = winnativeindex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[winnativeindex]
REGEX = .*
DEST_KEY = _MetaData:Index
FORMAT = win_native
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas? &lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2013 09:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57501#M767</guid>
      <dc:creator>FRoth</dc:creator>
      <dc:date>2013-09-08T09:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Receiver to certain index</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57502#M768</link>
      <description>&lt;P&gt;When you say "it didn't work". Do you mean that cooked data came in on port 9997 and was indexed into the main index? &lt;/P&gt;

&lt;P&gt;Is it possible that you have another inputs.conf with a similar declaration declaring index=main deliberately somewhere? You shouldn't really need the props and transforms in this case if you want everything coming on that port to go to the one index.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 03:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57502#M768</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2013-09-09T03:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Receiver to certain index</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57503#M769</link>
      <description>&lt;P&gt;It's better to set it up at source, so-to-speak, i.e. in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; on the forwarder;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[WinEventLog:Security]&lt;BR /&gt;
disabled=0&lt;BR /&gt;
index=win_native&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Just ensure that the index exists on the receiving end, i.e. the indexer.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 05:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57503#M769</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-09-09T05:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Receiver to certain index</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57504#M770</link>
      <description>&lt;P&gt;good point...&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 05:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57504#M770</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2013-09-09T05:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Receiver to certain index</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57505#M771</link>
      <description>&lt;P&gt;Ahhhh - I missed a "typo" in the sourcetype. "WinEventlog" has to be "WinEventLog" with an uppercase "L". Now I use [source::WinEventLog...] as stanza and the transforms are applied.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 10:03:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Receiver-to-certain-index/m-p/57505#M771</guid>
      <dc:creator>FRoth</dc:creator>
      <dc:date>2013-09-09T10:03:30Z</dc:date>
    </item>
  </channel>
</rss>

