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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...