Getting Data In

Can you put an overlay on a mstats prediction?

paimonsoror
Builder

I had a question from one of our engineers who are looking to leverage the metric indicies to do predictions of memory consumption over time. What we are looking to do is to start predicting, for example, the current memory used using mstats:

| mstats sum(_value) as memory_used WHERE index=metric_cpceng AND (metric_name=kvm_memory_used OR metric_name=kvm_memory_cached) AND pod=2 AND datacenter=ct span=1min earliest=-1y latest=-1h | where isnotnull(memory_used) | sort 0 _time | eval memory=round((memory_used/1024),0)| timechart span=1d max(memory)| `modvizpredict("max(memory)", "LLP5", "550", "0", "", "95")`

Now what we are looking to do now is plot a value for memory max over our chart so that we can track the intersect.

0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...