<?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 my data go in the wrong Index ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189020#M98511</link>
    <description>&lt;P&gt;There are 4 possibilities:&lt;/P&gt;

&lt;P&gt;1: Inside your new inputs.conf you left &lt;CODE&gt;index=Index_test_03&lt;/CODE&gt; out of one of your stanzas.&lt;BR /&gt;
2: You have a precedence problem where your configurations are not being used because there are configurations with &lt;CODE&gt;index=main&lt;/CODE&gt; somewhere else.  The most likely place is in the &lt;CODE&gt;learned&lt;/CODE&gt; app so check there.  Also make sure that your configurations are inside your app (not &lt;CODE&gt;$SPLUNK_HOME/etc/system/*/inputs.conf&lt;/CODE&gt;), such as &lt;CODE&gt;$SPLUNK_HOME/etc/apps/myapp/default/inputs.conf&lt;/CODE&gt;.&lt;BR /&gt;
3: You have the correct configuration files but you have not deployed them to ALL of your forwarders.&lt;BR /&gt;
4: You have done everything else correctly but you have not restarted the Splunk instance on all of your forwarders (which must be done after every change to &lt;CODE&gt;inputs.conf&lt;/CODE&gt; that you make while debugging this).&lt;/P&gt;

&lt;P&gt;In any case, you should be able to sort through this by using &lt;CODE&gt;btool&lt;/CODE&gt; on your forwarders to list out your inputs.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool inputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jul 2015 14:12:12 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-02T14:12:12Z</dc:date>
    <item>
      <title>Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189013#M98504</link>
      <description>&lt;P&gt;I have configured Windows logs input to a certain index Index_test_03, but very few data - tens - go there. Most of them - thousands - go to the Main Index, something I have not configured !&lt;/P&gt;

&lt;P&gt;I also noticed that the index I create go for App=Launcher, not Search ! The indexes I have created before are of App=Search. I have not changed anything for this to happen&lt;/P&gt;

&lt;P&gt;can you advise&lt;/P&gt;

&lt;P&gt;regards&lt;BR /&gt;
Altin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189013#M98504</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2020-09-28T20:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189014#M98505</link>
      <description>&lt;P&gt;How are you collecting the information? Make sure that however you define the input for the Windows logs that you specify the index in the inputs.conf file, otherwise they will go to "main".&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189014#M98505</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2015-07-02T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189015#M98506</link>
      <description>&lt;P&gt;The problem is that most of them go to Main Index, while very few go to what I would be expecting - ie my index.&lt;BR /&gt;
Shouldn't they go all to only one index ? why they are split ?&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
Altin&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189015#M98506</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2015-07-02T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189016#M98507</link>
      <description>&lt;P&gt;ps. I am using Universal Forwarders installed locally on windows servers to retrieve log data&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189016#M98507</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2015-07-02T12:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189017#M98508</link>
      <description>&lt;P&gt;Please use the commenting feature, instead of answering the question.&lt;/P&gt;

&lt;P&gt;Verify that your indexes are set on the inputs.&lt;/P&gt;

&lt;P&gt;Open an Administrative Command Prompt, and type this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"C:\Program Files\Splunk\bin\splunk.exe cmd btool inputs list WinEventLog --debug "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Make sure that all of the Inputs have the correct index definition defined.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 12:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189017#M98508</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2015-07-02T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189018#M98509</link>
      <description>&lt;P&gt;I'd verify your universal forwarder configuration. For the windows event logs you are specifying in inputs.conf, you should have an "index=Index_test_03" configuration set.&lt;/P&gt;

&lt;P&gt;The main index is the default, and if you have events showing up there it means, for those inputs, they don't have any other index specified.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189018#M98509</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2020-09-28T20:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189019#M98510</link>
      <description>&lt;P&gt;could you please update your "inputs.conf" and "props.conf" in your question, so we can see how individual events are parsed?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189019#M98510</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2015-07-02T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189020#M98511</link>
      <description>&lt;P&gt;There are 4 possibilities:&lt;/P&gt;

&lt;P&gt;1: Inside your new inputs.conf you left &lt;CODE&gt;index=Index_test_03&lt;/CODE&gt; out of one of your stanzas.&lt;BR /&gt;
2: You have a precedence problem where your configurations are not being used because there are configurations with &lt;CODE&gt;index=main&lt;/CODE&gt; somewhere else.  The most likely place is in the &lt;CODE&gt;learned&lt;/CODE&gt; app so check there.  Also make sure that your configurations are inside your app (not &lt;CODE&gt;$SPLUNK_HOME/etc/system/*/inputs.conf&lt;/CODE&gt;), such as &lt;CODE&gt;$SPLUNK_HOME/etc/apps/myapp/default/inputs.conf&lt;/CODE&gt;.&lt;BR /&gt;
3: You have the correct configuration files but you have not deployed them to ALL of your forwarders.&lt;BR /&gt;
4: You have done everything else correctly but you have not restarted the Splunk instance on all of your forwarders (which must be done after every change to &lt;CODE&gt;inputs.conf&lt;/CODE&gt; that you make while debugging this).&lt;/P&gt;

&lt;P&gt;In any case, you should be able to sort through this by using &lt;CODE&gt;btool&lt;/CODE&gt; on your forwarders to list out your inputs.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool inputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189020#M98511</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-02T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189021#M98512</link>
      <description>&lt;P&gt;I have a Windows 2003 box which in Settings/Add Data/Forward has been mapped to "index_test_01". I also have a Windows 2008 box which in the same is mapped to "index_test_03".&lt;/P&gt;

&lt;P&gt;I have done no configuration in the Universal Forwarders - except Splunk server IP and two ports, the latest during install.&lt;/P&gt;

&lt;P&gt;"index_test_01" of Win 2003 is populated, while "index_test_03" of Win 2008 gets very few data, most goes to index main.&lt;/P&gt;

&lt;P&gt;Same config on universal forwards, same config on server - results are different.&lt;/P&gt;

&lt;P&gt;Can anyone help ?&lt;/P&gt;

&lt;P&gt;regards&lt;BR /&gt;
Altin&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:28:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189021#M98512</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2020-09-28T20:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189022#M98513</link>
      <description>&lt;P&gt;I have configured the respective  in each Universal Forwarder and the data goes to the right index.&lt;BR /&gt;
Thank you everyone for the support&lt;/P&gt;

&lt;P&gt;regards&lt;BR /&gt;
Altin&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2015 12:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189022#M98513</guid>
      <dc:creator>altink</dc:creator>
      <dc:date>2015-07-03T12:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why my data go in the wrong Index ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189023#M98514</link>
      <description>&lt;P&gt;Please click "Accept" on the answer that most lead you to your solution..&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 04:43:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-my-data-go-in-the-wrong-Index/m-p/189023#M98514</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-07T04:43:11Z</dc:date>
    </item>
  </channel>
</rss>

