Splunk Enterprise

Metric rollup

brandy81
Path Finder

Hi All,

I have a question about metric rollup.

https://docs.splunk.com/Documentation/Splunk/latest/Metrics/MRollupsOverview

As stated by the document, metric rollup is for saving storage. Saying there are source metric index(A) and target metric index(B). Then, how is it for saving storage? Origin data indexed in index(B) is rolled up into index(B), which means taking more storage. My question is this: do I have to delete source index(A) periodically? How to handle source index in metic rollup environment?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Essentially, yes. Once you have extracted the metric data from the raw events, you can delete the raw events. For example, the raw events might be useful for looking at current issues, but let's say after 3 months, the data is too old to be of any value for problem analysis. However, it might be useful to know how traffic flow has changed over the last 6 months or a year. You don't need the raw data for this, you just need some useful metrics from the data, e.g. hourly counts, hourly average response times, etc. So, you collect this metrics data and keep that while removing raw events older than 3 months.

0 Karma

brandy81
Path Finder

Hi @ITWhisperer Thank you for the answer. I meant that the source index(A) is the metric index, not the event index. I meant source(A)/destination(B) are metric indexes both. Is your answer still valid in this circumstance? Additionally, I have a question. How do I delete the source index? By setting shorter retention policy? I have never seen that the metric rollup is used in the real world...

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...