<?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 Cold to frozen script, simply moving to thawed folder- how to genericize? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92857#M19309</link>
    <description>&lt;P&gt;I want to use the coldToFrozenScript to simply move from cold to my thawed path. Great, my shell script simply contains the following:
mv -r "$1" /mnt/thawed/&lt;/P&gt;

&lt;P&gt;However, if I use this for multiple indexes, I need to move it to the path for the index:
/mnt/thawed/indexname/&lt;/P&gt;

&lt;P&gt;How can I genericize this? I mean, I can set an argument, but can I detect the index or the thawedPath easily?&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2010 03:32:16 GMT</pubDate>
    <dc:creator>tedder</dc:creator>
    <dc:date>2010-11-20T03:32:16Z</dc:date>
    <item>
      <title>Cold to frozen script, simply moving to thawed folder- how to genericize?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92857#M19309</link>
      <description>&lt;P&gt;I want to use the coldToFrozenScript to simply move from cold to my thawed path. Great, my shell script simply contains the following:
mv -r "$1" /mnt/thawed/&lt;/P&gt;

&lt;P&gt;However, if I use this for multiple indexes, I need to move it to the path for the index:
/mnt/thawed/indexname/&lt;/P&gt;

&lt;P&gt;How can I genericize this? I mean, I can set an argument, but can I detect the index or the thawedPath easily?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2010 03:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92857#M19309</guid>
      <dc:creator>tedder</dc:creator>
      <dc:date>2010-11-20T03:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cold to frozen script, simply moving to thawed folder- how to genericize?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92858#M19310</link>
      <description>&lt;P&gt;If you know the index name, say via an argument, then you can ask btool to tell you the thawed path, similar to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd btool indexes list main | grep thawedPath
thawedPath = $SPLUNK_DB/defaultdb/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;BEWARE&lt;/STRONG&gt;, btool may not be officially supported right now, or ever.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2010 06:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92858#M19310</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-20T06:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cold to frozen script, simply moving to thawed folder- how to genericize?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92859#M19311</link>
      <description>&lt;P&gt;You can use the search command "dbinspect". For example:&lt;BR /&gt;
|dbinspect index=main&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2011 14:04:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92859#M19311</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2011-09-07T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cold to frozen script, simply moving to thawed folder- how to genericize?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92860#M19312</link>
      <description>&lt;P&gt;Ha-zaw &lt;BR /&gt;
A Powershell Script for windows users to thaw multiple buckets. &lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;Set-ExecutionPolicy -ExecutionPolicy Bypass


$Date =  get-date -Format yyyyMMdd


Foreach ($SplunkDBs in Get-ChildItem "D:\Splunk_Indexes\indexA\thaweddb")

    {
         &amp;amp; "c:\Program Files\splunk\bin\splunk.exe" rebuild D:\Splunk_Indexes\indexA\thaweddb\$SplunkDBs


    }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cold-to-frozen-script-simply-moving-to-thawed-folder-how-to/m-p/92860#M19312</guid>
      <dc:creator>jarjoh42</dc:creator>
      <dc:date>2018-01-24T20:21:48Z</dc:date>
    </item>
  </channel>
</rss>

