Splunk Dev

Archiving index frozen data to S3 using script coldToFrozenPlusS3Uplaod

Splunk_rocks
Path Finder

Hello Splunkers,

just trying to send my frozen/cold/archive data to AW s3 bucket here is the script i found , i was not able to understand Archive_dir path,My splunk index location is - /splunk/index/splunk/indexname so in this case what is the path for ARCHIVE_DIR

### CHANGE THIS TO YOUR ACTUAL ARCHIVE DIRECTORY!!!
ARCHIVE_DIR = "/splunkdb/archived_indexes"
#ARCHIVE_DIR = os.path.join(os.getenv('SPLUNK_HOME'), 'frozenarchive')

script_path = '' #for the logging library
log_file_path = '' #Where you want the ascript to log to. For example /var/log/splunk_archive.log
gnu_home_dir = '' #where the gpg directory is. For example /home/s3/.gnupg/
reciepient_email = '' #the email the gpg uses to encrypt the files
Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi,

Is this all of the script or is there more? If so can you please update and all of the script?

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...