<?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: s3 add-on adding data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38635#M7150</link>
    <description>&lt;P&gt;Here is what you need to do:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/apps/s3/README/inputs.conf.spec&lt;BR /&gt;
inputs.conf.spec&lt;/P&gt;

&lt;P&gt;[s3://&lt;NAME&gt;]&lt;/NAME&gt;&lt;/P&gt;

&lt;P&gt;key_id = &lt;VALUE&gt;&lt;BR /&gt;
* This is Amazon key ID.&lt;/VALUE&gt;&lt;/P&gt;

&lt;P&gt;secret_key = &lt;VALUE&gt;&lt;BR /&gt;
* This is the secret key.&lt;/VALUE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/AdvancedDev/ModInputsExample"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/AdvancedDev/ModInputsExample&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2014 18:27:12 GMT</pubDate>
    <dc:creator>khourihan_splun</dc:creator>
    <dc:date>2014-01-27T18:27:12Z</dc:date>
    <item>
      <title>s3 add-on adding data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38634#M7149</link>
      <description>&lt;P&gt;Splunk is installed&lt;BR /&gt;
s3 add-on is installed.&lt;/P&gt;

&lt;P&gt;I have gone to data inputs and added the amazon s3 bucket we wanted.&lt;BR /&gt;
However, for the life of me I can't figure out how to actually pull in the data from s3 to do anything with.&lt;/P&gt;

&lt;P&gt;Can anyone tell me what I need to do? &lt;/P&gt;

&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 23:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38634#M7149</guid>
      <dc:creator>jonsaenz</dc:creator>
      <dc:date>2013-02-20T23:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: s3 add-on adding data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38635#M7150</link>
      <description>&lt;P&gt;Here is what you need to do:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/apps/s3/README/inputs.conf.spec&lt;BR /&gt;
inputs.conf.spec&lt;/P&gt;

&lt;P&gt;[s3://&lt;NAME&gt;]&lt;/NAME&gt;&lt;/P&gt;

&lt;P&gt;key_id = &lt;VALUE&gt;&lt;BR /&gt;
* This is Amazon key ID.&lt;/VALUE&gt;&lt;/P&gt;

&lt;P&gt;secret_key = &lt;VALUE&gt;&lt;BR /&gt;
* This is the secret key.&lt;/VALUE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/AdvancedDev/ModInputsExample"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/AdvancedDev/ModInputsExample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 18:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38635#M7150</guid>
      <dc:creator>khourihan_splun</dc:creator>
      <dc:date>2014-01-27T18:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: s3 add-on adding data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38636#M7151</link>
      <description>&lt;P&gt;I have, from a Splunk python script, developed coldToFrozenPlusS3Uplaod.py that encrypts and uploads frozen buckets to S3.&lt;/P&gt;

&lt;P&gt;It can be found here: &lt;A href="https://github.com/marboxvel/Encrypt-upload-archived-Splunk-buckets"&gt;https://github.com/marboxvel/Encrypt-upload-archived-Splunk-buckets&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 18:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38636#M7151</guid>
      <dc:creator>sbutto</dc:creator>
      <dc:date>2018-08-31T18:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: s3 add-on adding data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38637#M7152</link>
      <description>&lt;P&gt;Hi Sbuttio, &lt;BR /&gt;
Im using your script here is sample one getting issues &lt;/P&gt;

&lt;P&gt;import sys, os, gzip, shutil, subprocess, random, gnupg&lt;BR /&gt;
import boto&lt;BR /&gt;
import datetime&lt;BR /&gt;
import time&lt;BR /&gt;
import tarfile&lt;/P&gt;

&lt;H1&gt;applyLogging is a python script named applyLogging.py that exists at the same level of this script.&lt;/H1&gt;

&lt;H1&gt;If the file applyLogging.py doesn't exist where this file is located, the import statement will fail.&lt;/H1&gt;

&lt;P&gt;sys.path.append(script_path)&lt;BR /&gt;
import applyLogging&lt;/P&gt;

&lt;H3&gt;CHANGE THIS TO YOUR ACTUAL ARCHIVE DIRECTORY!!!&lt;/H3&gt;

&lt;P&gt;ARCHIVE_DIR = "/splunk/index/splunk/archiveindex"&lt;/P&gt;

&lt;H1&gt;ARCHIVE_DIR = os.path.join(os.getenv('SPLUNK_HOME'), 'frozenarchive')&lt;/H1&gt;

&lt;P&gt;script_path = '/opt/splunk/etc/apps/Encrypt-upload-archived-Splunk-buckets-master/coldToFrozenPlusS3Uplaod.py'&lt;BR /&gt;
log_file_path = '/opt/splunk/var/log/splunk/'&lt;/P&gt;

&lt;H1&gt;gnu_home_dir = '' #where the gpg directory is. For example /home/s3/.gnupg/&lt;/H1&gt;

&lt;P&gt;gnu_home_dir = /home/splunkq/.gnupg&lt;/P&gt;

&lt;H1&gt;reciepient_email = '' #the email the gpg uses to encrypt the files&lt;/H1&gt;

&lt;P&gt;reciepient_email = &lt;A href="mailto:xxyxy@gmail.com" target="_blank"&gt;xxyxy@gmail.com&lt;/A&gt;&lt;/P&gt;

&lt;H1&gt;Enabling the logging system&lt;/H1&gt;

&lt;P&gt;logger = applyLogging.get_module_logger(app_name='SplunkArchive',file_path=log_file_path)&lt;/P&gt;

&lt;P&gt;all are same &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:12:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38637#M7152</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2020-09-29T23:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: s3 add-on adding data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38638#M7153</link>
      <description>&lt;P&gt;Can you please help me &lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 02:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/s3-add-on-adding-data/m-p/38638#M7153</guid>
      <dc:creator>Splunk_rocks</dc:creator>
      <dc:date>2019-02-10T02:07:27Z</dc:date>
    </item>
  </channel>
</rss>

