<?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: Unable to archive frozen data to s3 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346458#M63630</link>
    <description>&lt;P&gt;Looks like this is permission issue , as splunk user it is not able to execute was&lt;BR /&gt;
can't open file '/usr/local/bin/aws': [Errno 13] Permission denied&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 20:35:26 GMT</pubDate>
    <dc:creator>basu42002</dc:creator>
    <dc:date>2017-12-15T20:35:26Z</dc:date>
    <item>
      <title>Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346449#M63621</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;

&lt;P&gt;I am using the below in indexes.conf file, but the script never got executed instead the frozen files are deleted.&lt;BR /&gt;
frozenTimePeriodInSecs = 1382400&lt;BR /&gt;
coldToFrozenScript = "/opt/splunk/bin/python" "/opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py"&lt;/P&gt;

&lt;P&gt;Do I need to create sub folders on S3 bucket? because manually executing the script, without the sub folders works.&lt;/P&gt;

&lt;P&gt;However if I manually execute the script something like "python coldtofrozens3.py arguments", its copying the data to s3.&lt;BR /&gt;
Also I have tried coldToFrozenDir=, which is working.&lt;BR /&gt;
But the coldtofrozen script never works. I am unable to test the script, as i am losing the frozen data.&lt;/P&gt;

&lt;P&gt;Can some one please help/suggest what is going wrong here.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 23:39:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346449#M63621</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-14T23:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346450#M63622</link>
      <description>&lt;P&gt;Have you searched your internal splunk logs for any reference to the script?  This may show you that the script is or is not running, and if it's producing any errors.&lt;/P&gt;

&lt;P&gt;Did you restart Splunk after making the change to indexes.conf?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346450#M63622</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-15T00:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346451#M63623</link>
      <description>&lt;P&gt;When you run it manually, are you using the same account that splunk runs as?  If not, check the permissions.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346451#M63623</guid>
      <dc:creator>jesse_corray</dc:creator>
      <dc:date>2017-12-15T00:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346452#M63624</link>
      <description>&lt;P&gt;12-14-2017 23:44:43.621 +0000 INFO  IndexWriter - idx=, Initializing, params='[300,period=60,frozenTimePeriodInSecs=1382400,coldToFrozenScript="/opt/splunk/bin/python" "/opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py"&lt;/P&gt;

&lt;P&gt;this is from the splunkd.log, I have restarted splunkindexer.&lt;/P&gt;

&lt;P&gt;The changes are reflected, I see this script is being referenced in the log after restart.&lt;BR /&gt;
However the script never executed.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:16:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346452#M63624</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T00:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346453#M63625</link>
      <description>&lt;P&gt;I don't see any issues with permissions, also I am using the same account that splunk is running as.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:25:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346453#M63625</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T00:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346454#M63626</link>
      <description>&lt;P&gt;Any suggestions please.&lt;BR /&gt;
I have tried with and without double quotes:&lt;/P&gt;

&lt;P&gt;"/opt/splunk/bin/python" "/opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py"&lt;/P&gt;

&lt;P&gt;But it did not work.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 00:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346454#M63626</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T00:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346455#M63627</link>
      <description>&lt;P&gt;From the logs, I see&lt;BR /&gt;
ERROR BucketMover - coldToFrozenScript /usr/bin/python: /opt/splunk/lib/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /usr/bin/python)&lt;/P&gt;

&lt;P&gt;Is it possible to help in resolving this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 05:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346455#M63627</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T05:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346456#M63628</link>
      <description>&lt;P&gt;When you test the app manually you should use Splunk's python interpreter:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./bin/splunk cmd python &amp;lt;script name&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346456#M63628</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-15T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346457#M63629</link>
      <description>&lt;P&gt;Thank you, if I run it manually it is working, but otherwise it doesn't work when splunk runs automatically:&lt;BR /&gt;
./splunk cmd /opt/splunk/bin/python /opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py /opt/splunkindexes/xxx/cold/testbk_bkt&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 19:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346457#M63629</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T19:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346458#M63630</link>
      <description>&lt;P&gt;Looks like this is permission issue , as splunk user it is not able to execute was&lt;BR /&gt;
can't open file '/usr/local/bin/aws': [Errno 13] Permission denied&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 20:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346458#M63630</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-15T20:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346459#M63631</link>
      <description>&lt;P&gt;Were you able to solve the permission issue?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 22:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346459#M63631</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-28T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346460#M63632</link>
      <description>&lt;P&gt;We have decided to upgrade splunk to 7.0,  as splunk is unable to execute aws. We couldn’t resolve permission issues.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 23:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346460#M63632</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-28T23:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346461#M63633</link>
      <description>&lt;P&gt;It doesn't seem likely that the Splunk version would cause (or remedy) the issue you were having with permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 23:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346461#M63633</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-12-28T23:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346462#M63634</link>
      <description>&lt;P&gt;Splunk 7 has support for S3, so that’s the reason for upgrade. We are not going to use the coldtofrozen script anymore &lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 23:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346462#M63634</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2017-12-28T23:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346463#M63635</link>
      <description>&lt;P&gt;@ basu42002 ,&lt;/P&gt;

&lt;P&gt;Can you explain how you set this up? &lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 17:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346463#M63635</guid>
      <dc:creator>klaxdal</dc:creator>
      <dc:date>2018-01-08T17:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346464#M63636</link>
      <description>&lt;P&gt;I'd also be interested to know how you got on with this.  It's currently an unsupported feature and I'm unclear how to set it up.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346464#M63636</guid>
      <dc:creator>pccl</dc:creator>
      <dc:date>2018-02-22T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346465#M63637</link>
      <description>&lt;P&gt;We have upgraded splunk indexer to 7.x and enabled boot start as Splunk user after changing the owner to splunk for $SPLUNKHOME&lt;BR /&gt;
And finally able to automate cold to frozen s3.&lt;/P&gt;

&lt;P&gt;The following worked as splunk user:&lt;BR /&gt;
./splunk cmd /opt/splunk/bin/python /opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py /opt/splunkindexes//cold/testbk_rb_6D93D52F011A&lt;/P&gt;

&lt;P&gt;and we added the following under /opt/splunk/etc/slave-apps/_cluster/local&lt;BR /&gt;
indexes.conf:&lt;BR /&gt;
frozenTimePeriodInSecs = 1382400&lt;BR /&gt;
coldToFrozenScript =  "/opt/splunk/bin/python" "/opt/splunk/etc/apps/atl-cold-to-frozen-s3/bin/coldToFrozenS3.py"&lt;/P&gt;

&lt;P&gt;following by splunk indexer restart&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346465#M63637</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2020-09-29T18:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346466#M63638</link>
      <description>&lt;P&gt;Please let us know how you did this. Thanks!!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 22:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346466#M63638</guid>
      <dc:creator>markhill1</dc:creator>
      <dc:date>2018-06-10T22:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to archive frozen data to s3</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346467#M63639</link>
      <description>&lt;P&gt;I have used cold to frozen s3 script to achieve this.  The steps are mentioned in the 'answer' section above. However we have upgraded to splunk 7.x as coldtofrozens3 script did not work in splunk 6.x&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 02:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-archive-frozen-data-to-s3/m-p/346467#M63639</guid>
      <dc:creator>basu42002</dc:creator>
      <dc:date>2018-06-11T02:16:16Z</dc:date>
    </item>
  </channel>
</rss>

