<?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: Intermediate throwaway index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404435#M94247</link>
    <description>&lt;P&gt;I agree with your points @gpradeepkumarreddy.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 18:24:11 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-08-16T18:24:11Z</dc:date>
    <item>
      <title>Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404433#M94245</link>
      <description>&lt;P&gt;In order to validate all the configurations prior to using the &lt;STRONG&gt;real&lt;/STRONG&gt; index for a certain customer, we decided to use a temporary index called &lt;CODE&gt;throwaway&lt;/CODE&gt;. Upon validation of the data, we switch the configurations to point to the real index. However, we reach situations where there is no new data for this index and it's tough then to present to the customer the finished product. In addition, using &lt;CODE&gt;ignoreOlderThan = 7&lt;/CODE&gt; for the &lt;CODE&gt;throwaway&lt;/CODE&gt; index and when switching, we pick up only the new data. We apply this method for hundreds of internal customers and I wonder if and how the method can be improved...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 16:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404433#M94245</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-08-16T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404434#M94246</link>
      <description>&lt;P&gt;two suggestions&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;If you have a non prod splunk instance, you should try testing in that rather than your production instance. Non prod servers sending data to non prod splunk instance to test your configs.&lt;/LI&gt;
&lt;LI&gt;If you absolutely have to test in prod in a throwaway index, you should probably clear the fish bucket on the forwarders every time you change the index to real index. &lt;A href="https://www.splunk.com/blog/2008/08/14/what-is-this-fishbucket-thing.html"&gt;https://www.splunk.com/blog/2008/08/14/what-is-this-fishbucket-thing.html&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 16 Aug 2018 17:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404434#M94246</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2018-08-16T17:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404435#M94247</link>
      <description>&lt;P&gt;I agree with your points @gpradeepkumarreddy.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 18:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404435#M94247</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-08-16T18:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404436#M94248</link>
      <description>&lt;P&gt;Rather than creating inputs.conf definitions to push your files to the throwaway index, which as others have mentioned will add the filename to the fishbucket and then require you to take action to get those files re-indexed again.   Add the files into splunk using oneshot  pointing to the throwaway index and then review the data as it has been parsed.    lather rinse repeat until your sourcetypes are working correctly. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk add oneshot /path/to/file.txt -index throwaway -sourcetype mynewtestingsourcetype -source testrun-24
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you customize the source each time you run a test, it makes it easier to separate the previously oneshotted data from the new&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404436#M94248</guid>
      <dc:creator>darrenfuller</dc:creator>
      <dc:date>2018-08-16T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404437#M94249</link>
      <description>&lt;P&gt;I wonder if there is a REST call to clear the fishbucket. Then we can invoke it from a script that iterates through all the servers which are involved. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 00:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404437#M94249</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-08-17T00:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404438#M94250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Did you try using &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#MONITOR:"&gt;crcSalt or initCrcLength&lt;/A&gt; in your inputs.conf? I mean, if your goal is to re-index data each time you want to test your configurations, then use these settings with appropriate values and change your sourcetype to find difference. &lt;/P&gt;

&lt;P&gt;This will save you a restart of the indexer.  &lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 13:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404438#M94250</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-08-17T13:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Intermediate throwaway index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404439#M94251</link>
      <description>&lt;P&gt;@gpradeepkumarreddy - great suggestions !!! &lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 00:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Intermediate-throwaway-index/m-p/404439#M94251</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-02-18T00:20:12Z</dc:date>
    </item>
  </channel>
</rss>

