<?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: Reset Splunk Data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543199#M90696</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232316"&gt;@singhvikas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Splunk doesn't index twice a log, so the already indexed data will not be indexed again by default.&lt;/P&gt;&lt;P&gt;If you need to reindex them, you have to change the name of filename&amp;nbsp;and use (as you are doing) crcSalt = &amp;lt;SOURCE&amp;gt; option in your input stanza.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 13:37:36 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-03-10T13:37:36Z</dc:date>
    <item>
      <title>Reset Splunk Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543193#M90693</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;Let's say I have an index called test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am only ingesting EVTX by modifying the inputs.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://D:\winevt\logs\*]
index = test
sourcetype = preprocess-winevt
crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now there's an extra huge EVTX which is very slow to index and I want to just start afresh! What approach should I take?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk stop
splunk clean eventdata
splunk start&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but would it:&lt;/P&gt;&lt;P&gt;1. Rest my inputs.conf? I guess no&lt;/P&gt;&lt;P&gt;2. If not, wouldn't it again start indexing from where I left off(given I have not changed the input and not touched the physical files)? This is what I'm seeing in my environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543193#M90693</guid>
      <dc:creator>singhvikas</dc:creator>
      <dc:date>2021-03-10T12:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Splunk Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543195#M90694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232316"&gt;@singhvikas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you're speaking of a development index, you could also use the delete command that's faster than the other way but it doesn't delete events from the index, it only marks them as deleted.&lt;/P&gt;&lt;P&gt;Anyway the approach you described is the correct one but BEWARE: if you don't insert the clause "-index &amp;lt;index_name&amp;gt;" in the command you clean all the indexes not only the test one!!!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543195#M90694</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-03-10T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Splunk Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543196#M90695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response, I appreciate the help (and the word of caution!)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Umm.. just to be clear, if the data is STILL being indexed. I can&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk stop
splunk clean eventdata
splunk start&lt;/LI-CODE&gt;&lt;P&gt;what happens when splunk starts? It will start the indexing from scratch as per my configuration here?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://D:\winevt\logs\*]
index = test
sourcetype = preprocess-winevt
crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543196#M90695</guid>
      <dc:creator>singhvikas</dc:creator>
      <dc:date>2021-03-10T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Splunk Data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543199#M90696</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232316"&gt;@singhvikas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Splunk doesn't index twice a log, so the already indexed data will not be indexed again by default.&lt;/P&gt;&lt;P&gt;If you need to reindex them, you have to change the name of filename&amp;nbsp;and use (as you are doing) crcSalt = &amp;lt;SOURCE&amp;gt; option in your input stanza.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 13:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reset-Splunk-Data/m-p/543199#M90696</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-03-10T13:37:36Z</dc:date>
    </item>
  </channel>
</rss>

