<?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: mis configure index values creating problem in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114764#M1379</link>
    <description>&lt;P&gt;thanks for these details.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2015 13:55:24 GMT</pubDate>
    <dc:creator>gajananh999</dc:creator>
    <dc:date>2015-01-29T13:55:24Z</dc:date>
    <item>
      <title>mis configure index values creating problem</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114762#M1377</link>
      <description>&lt;P&gt;Dear All,&lt;BR /&gt;
We have one production search head, three indexers clustered, a cluster master, and a deployment server. All running Windows 2k8 R2. Splunk version is 6.1.3&lt;/P&gt;

&lt;P&gt;We planned to get data from some of the Linux box and we wrote an inputs.conf file but in inputs file we gave the wrong index name.&lt;BR /&gt;
I wanted to give “oracledb” but we gave “oraclelog”&lt;BR /&gt;
But when I searched for index usage in _internal index. Oraclelog say 28GB so but “oraclelog” index is not present on indexers so where the data is stored?&lt;/P&gt;

&lt;P&gt;If it store on different index then which is that index name? How should copy to the data from one index to another index?&lt;/P&gt;

&lt;P&gt;Because now if I correct the log file with “oracldb” index will not be able to get the data once from forwarder which is already indexed? How to do this?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114762#M1377</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2015-01-29T11:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: mis configure index values creating problem</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114763#M1378</link>
      <description>&lt;P&gt;If index is not specified data will go to main index, you can get the logs by running&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not sure if moving buckets from main index to the correct index will work or not, I think it is better to delete the wrongly inserted logs and index them again.&lt;/P&gt;

&lt;P&gt;To delete logs then specify the source from Fields sidebar then delete the events you want as per the following, but first you need to allow the user you are using to delete:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=test.gz | delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Give user permissions to delete, from wen interface, I'll assume you are using admin user:&lt;/P&gt;

&lt;P&gt;Settings, Access controls, Users, admin&lt;/P&gt;

&lt;P&gt;In Assign to roles part, add can_delete, then save&lt;/P&gt;

&lt;P&gt;As you already mentioned forwarder will not index logs again as they are already indexed, there are many workaround to re-index the logs:&lt;/P&gt;

&lt;P&gt;First:&lt;BR /&gt;
Splunk forwarder keep track of processed files through fishbucket directory "/opt/splunkforwarder/var/lib/splunk/fishbucket/", so if you remove all the contents of fishbucket directory splunk will process again all files under monitored directories which will process the required files to the correct index, but this also will cause duplicates because all files will be processed, so you should move all processed files to archive directory to not be processed again.&lt;/P&gt;

&lt;P&gt;Second:&lt;BR /&gt;
Second solution is make small edit on files you want to process by adding newline or space for example, as splunk will check the checksum of the file to identify if the file is processed or not, unfortunately changing file name is not enough.&lt;/P&gt;

&lt;P&gt;Third:&lt;BR /&gt;
Use oneshot to index your log files with the correct options. See the following for more info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Storm/Storm/User/CLIcommandsforinput"&gt;http://docs.splunk.com/Documentation/Storm/Storm/User/CLIcommandsforinput&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;More hints, and other approach here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html"&gt;http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Ahmed&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114763#M1378</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2015-01-29T12:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: mis configure index values creating problem</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114764#M1379</link>
      <description>&lt;P&gt;thanks for these details.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Gajanan Hiroji&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 13:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/mis-configure-index-values-creating-problem/m-p/114764#M1379</guid>
      <dc:creator>gajananh999</dc:creator>
      <dc:date>2015-01-29T13:55:24Z</dc:date>
    </item>
  </channel>
</rss>

