Splunk Search

Mstats and timechart spl for metric by host

nathanluke86
Communicator

I was looking to graph out all of our ‘free space’ on a single timechart but am struggling with the syntax. Each line should represent the free space remaining on each host.
The Mstats command is new to me

| mstats avg(_value) WHERE index=windows_os_metrics AND metric_name="% Free Space" span=30m by host
| timechart span=30m avg(avg_value) by host

We have the data in the metrics index but we cannot get the spl to graph.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...