Getting Data In

[SmartStore] How to get only frozen data to get archived in S3

brunofernandez
Explorer

Currently doing a SmartStore POC. The goal is to send only the frozen data to s3 but for an unknown reason (to me), the entire index was sent to S3....

Here is my indexes.conf:


[prometheus_dock]
coldPath = $SPLUNK_DB/prometheus_dock/colddb
datatype = metric
homePath = $SPLUNK_DB/prometheus_dock/db
maxTotalDataSizeMB = 256000
thawedPath = $SPLUNK_DB/prometheus_dock/thaweddb
maxHotSpanSecs = 86400
frozenTimePeriodInSecs = 648000
remotePath = volume:s3/prometheus_dock

Index size in Splunk: 7.75GB

When I query aws s3 to get bucket size:

```
ws s3 ls --summarize --human-readable --recursive s3://splunkdockbucket/

Total Objects: 425
Total Size: 7.7 GiB
```

How to configure indexes.conf to only archive frozen data...?

0 Karma
1 Solution

chrisyounger
SplunkTrust
SplunkTrust

Smartstore is a solution for sending warm/cold data to S3. It is designed to still make the data able to be searched.

If you want to do frozen Data, take a look at the discussions here: https://answers.splunk.com/answers/56522/frozen-archives-into-amazon-s3.html#answer-351891

All the best 🙂

View solution in original post

brunofernandez
Explorer

Thank you @chrisyoungerjds. I guess SmartStore is working perfectly than. tks. 🙂

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

Smartstore is a solution for sending warm/cold data to S3. It is designed to still make the data able to be searched.

If you want to do frozen Data, take a look at the discussions here: https://answers.splunk.com/answers/56522/frozen-archives-into-amazon-s3.html#answer-351891

All the best 🙂

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...