Getting Data In

Check my work on my indexes.conf file for metrics?

daniel333
Builder

All,

Can you check my work here? Provisioning a metrics index where I am hoping to retain the data and keep it active for 3 years. Anything missing?

I am only expecting a 30-40 megs a day of metrics data for the foreseeable future.

[metrics]
  datatype = metric
  maxHotBuckets = 20
  maxWarmDBCount = 2000
  repFactor = 0
  thawedPath = $SPLUNK_DB/metrics/thaweddb
  frozenTimePeriodInSecs = 94608000

thanks
-Daniel

0 Karma

koshyk
Super Champion

I feel, quite few important things are missing.
1. It is NOT good practice to use index name of metrics. You will get confused later as splunk have its own metrics source and other apps may introduce metrics index. Better to start the name with yourcompany_metrics
2. Have you specified a Index Volume group? It is highly recommend to have a volume settings to abstract physical storage. Please read indexes.conf for details
3. Once you define Volume for your hot/cold/thawed etc, below setting should be good enough for basic purposes

 [yourcompany_metrics]
datatype = metric
 homePath   = volume:home/yourcompany_metrics/db
 coldPath = volume:cold/yourcompany_metrics/colddb
 thawedPath = volume:cold/yourcompany_metrics/thaweddb
 # Let volumes handle size, set high limit per index (set to 2x 40MB * 3 years * 365 days). Just to be safe
 maxTotalDataSizeMB = 87600
 # 3 years x 365 days * 24 hrs * 60mins * 60secs days total retention
 frozenTimePeriodInSecs = 94608000
 repFactor = auto
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...