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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...