<?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: Re-index data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546882#M91057</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233069"&gt;@TheFlash&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes the data you deleted are phisically still in your index but are unsearcable.&lt;/P&gt;&lt;P&gt;To reindex them I need to know which kind of logs are they:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;from db-connect,&lt;/LI&gt;&lt;LI&gt;from files,&lt;/LI&gt;&lt;LI&gt;from syslogs?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If they arrive from syslog, it's not possible to reindex them.&lt;/P&gt;&lt;P&gt;if they arrive from dbconnect, it's a little difficoult but possible because you have to manually modify (the&amp;nbsp;&lt;SPAN&gt;From DB Connect 3 and later) the rising column checkpoints of the input that are stored&amp;nbsp; in $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If they are from files, you have to identify the sources to reindex and, if they are few, manually load&amp;nbsp; them by guided procedure, if they are many you have to modify your inputs.conf adding to the related stanza the option&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 14:52:38 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-04-06T14:52:38Z</dc:date>
    <item>
      <title>Re-index data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546878#M91056</link>
      <description>&lt;P&gt;How do I get the data re-indexed to same sourcetype which I deleted using the delete command.&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lets say I used this query: index=demo sourcetype=db_demo| delete&amp;nbsp;&lt;/P&gt;&lt;P&gt;now here correct me If i am wrong, my "db_demo" data is marked as deleted that it is unsearchable but it is not deleted from disk space.&lt;/P&gt;&lt;P&gt;now my question is without cleaning my index, how can I re-index or you can say monitor again my " db_demo" without changing the sourcetype. I don't want to change sourcetype "db_demo" to something else.&lt;/P&gt;&lt;P&gt;is there a way ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 14:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546878#M91056</guid>
      <dc:creator>TheFlash</dc:creator>
      <dc:date>2021-04-06T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546882#M91057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233069"&gt;@TheFlash&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes the data you deleted are phisically still in your index but are unsearcable.&lt;/P&gt;&lt;P&gt;To reindex them I need to know which kind of logs are they:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;from db-connect,&lt;/LI&gt;&lt;LI&gt;from files,&lt;/LI&gt;&lt;LI&gt;from syslogs?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If they arrive from syslog, it's not possible to reindex them.&lt;/P&gt;&lt;P&gt;if they arrive from dbconnect, it's a little difficoult but possible because you have to manually modify (the&amp;nbsp;&lt;SPAN&gt;From DB Connect 3 and later) the rising column checkpoints of the input that are stored&amp;nbsp; in $SPLUNK_HOME/var/lib/splunk/modinputs/server/splunk_app_db_connect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If they are from files, you have to identify the sources to reindex and, if they are few, manually load&amp;nbsp; them by guided procedure, if they are many you have to modify your inputs.conf adding to the related stanza the option&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 14:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546882#M91057</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-06T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546887#M91060</link>
      <description>&lt;P&gt;The process that got the db_demo data into the demo index in the first place must be repeated.&lt;/P&gt;&lt;P&gt;If the data came from a file, then Splunk will not re-process it because remembers reading it before.&amp;nbsp; You'll have to tell Splunk to "forget" that file by deleting the fishbucket.&amp;nbsp; To do that, run this CLI command&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk cmd btprobe -d /opt/splunkforwarder/var/lib/splunk/fishbucket/splunk_private_db --file &amp;lt;foo&amp;gt; --reset&lt;/LI-CODE&gt;&lt;P&gt;replace "&amp;lt;foo&amp;gt;" with the name of the file you wish to re-index.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:05:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/546887#M91060</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-04-06T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/550427#M91404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233069"&gt;@TheFlash&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see nect time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 16:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/550427#M91404</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-04T16:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/572341#M101290</link>
      <description>&lt;P&gt;If you want to have the deleted data reappear for searching without actually re-indexing the data, you can do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stop Splunk&lt;/LI&gt;&lt;LI&gt;In the folder for the index, find the buckets by UTC timestamp where you want to recover the deleted data.&lt;/LI&gt;&lt;LI&gt;Within the bucket's rawdata folder you will find a folder called deletes containing one or more csv.gz files. Remove the deletes folder.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Start Splunk&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;A side effect of this is that ALL deleted data will then reappear - not just your sourcetype=db_demo.&lt;/P&gt;&lt;P&gt;Since you now have access to all the data that was present in the index, you can use any other export / re-index methods on the data. By exporting _raw records to a CSV file you can also use monitor / file upload again if you need to test your indexing process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend making a copy of your original index demo to work on rather than working on the original. If something during this process fails you can always return to start.&amp;nbsp; Also - do this in a lab before working on the real dataset. I am not sure if this causes any issues around the tsidx files or the .bucketmanifest, but this worked for me when I needed to restore some "lost" data.&lt;/P&gt;&lt;P&gt;Regards, H.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 21:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Re-index-data/m-p/572341#M101290</guid>
      <dc:creator>hnorvik</dc:creator>
      <dc:date>2021-10-25T21:16:55Z</dc:date>
    </item>
  </channel>
</rss>

