<?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 Use btprobe reset to re-index multiple files in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files/m-p/313186#M19225</link>
    <description>&lt;P&gt;I have the following files that are being monitored on a server with a universal forwarder. &lt;BR /&gt;
/var/log/www1/secure.log&lt;BR /&gt;
/var/log/www1/access.log&lt;BR /&gt;
/var/log/www2/secure.log&lt;BR /&gt;
/var/log/www2/access.log&lt;/P&gt;

&lt;P&gt;Is there a way to use wildcards to get btprobe to reset and reindex the content of those files. &lt;BR /&gt;
Keep in mind that the /var/log/ directory has other subfolders that are being monitored that I don't want to reset those, so purging the fishbucket folder is out of question. &lt;/P&gt;</description>
    <pubDate>Sat, 27 May 2017 18:43:12 GMT</pubDate>
    <dc:creator>MedralaG</dc:creator>
    <dc:date>2017-05-27T18:43:12Z</dc:date>
    <item>
      <title>Use btprobe reset to re-index multiple files</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files/m-p/313186#M19225</link>
      <description>&lt;P&gt;I have the following files that are being monitored on a server with a universal forwarder. &lt;BR /&gt;
/var/log/www1/secure.log&lt;BR /&gt;
/var/log/www1/access.log&lt;BR /&gt;
/var/log/www2/secure.log&lt;BR /&gt;
/var/log/www2/access.log&lt;/P&gt;

&lt;P&gt;Is there a way to use wildcards to get btprobe to reset and reindex the content of those files. &lt;BR /&gt;
Keep in mind that the /var/log/ directory has other subfolders that are being monitored that I don't want to reset those, so purging the fishbucket folder is out of question. &lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 18:43:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files/m-p/313186#M19225</guid>
      <dc:creator>MedralaG</dc:creator>
      <dc:date>2017-05-27T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use btprobe reset to re-index multiple files</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files/m-p/313187#M19226</link>
      <description>&lt;P&gt;Even if wildcards worked (there's no indication that they do), it would be too risky to use them; just do this from shell in bash:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;for file in /var/log/www1/secure.log /var/log/www1/access.log /var/log/www2/secure.log /var/log/www2/access.log
do
    echo resetting $file...
    $SPLUNK_HOME/bin/splunk cmd btprobe -d  $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db  --file $file --reset
done
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 May 2017 04:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files/m-p/313187#M19226</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-29T04:17:17Z</dc:date>
    </item>
  </channel>
</rss>

