Splunk Enterprise

Send Splunk Archive Logs to Ceph S3

splunkuser109
Explorer

How can we automatically send frozen/archived splunk logs from the indexers over to a Ceph S3 bucket using the indexers.conf file on the indexers? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, sort of.  Use indexers.conf to specify a coldToFrozenScript.  That script, which you must write, will copy the archived buckets to Ceph.  See https://docs.splunk.com/Documentation/Splunk/8.1.3/Indexer/Automatearchiving and https://docs.splunk.com/Documentation/Splunk/8.1.3/Admin/Indexesconf#PER_INDEX_OPTIONS

---
If this reply helps you, Karma would be appreciated.
0 Karma

splunkuser109
Explorer
  • Hmm so it doesn’t look like there’s an easy way for us to automatically copy over the frozen logs directly to the ceph s3 bucket? 

Do you have any ideas on how we can write a script to copy over frozen buckets over to ceph s3 buckets? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Personally, I like Visual Studio Code, but notepad++ is good, too.  😀

---
If this reply helps you, Karma would be appreciated.
0 Karma

splunkuser109
Explorer

hahaha. Can remotePath (ceph s3 bucket) not be used to store the cold or frozen buckets/logs? 

 

https://docs.splunk.com/Documentation/Splunk/8.1.0/Admin/Indexesconf

0 Karma

richgalloway
SplunkTrust
SplunkTrust

remotePath is used for warm/cold buckets.  This is part of the SmartStore feature.  Frozen buckets are different and are not stored by SmarStore.

There is an example coldToFrozenScript in $SPLUNK_HOME/bin.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Changes to Splunk Instructor-Led Training Completion Criteria

We’re excited to share an update to our instructor-led training program that enhances the learning experience ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

❄️ Welcome the new year with our January lineup of Community Office Hours, Tech Talks, and Webinars! 🎉 ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...