Splunk Search

How to get Mstats sum by time?

pancham
Explorer

Hi Team,

I'm new to Splunk and will need some help in getting this query total sum by timestamp as we are not explicitly

timestamp from code.

|mstats sum(_value) as total WHERE index='abc' | where total>0

Labels (3)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @pancham ...

Are you sure about the "_value" ?...it looks like missing some portions. 

Example mstats variables:
spl.intr.resource_usage.PerProcess.data.elapsed
os.mem.rss
aws.ec2.CPUUtilization

 

may we know what happens when you run.. 

|mstats sum(value) as total WHERE index='abc' 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...