Getting Data In

How can I get/aggregate the current/latest values for all unique combination of metrics name + dims ?


In Prometheus, I can get "all time series at current time" in Console, how can we achieve the same in Splunk Metrics Index?

Tags (1)
0 Karma


Sorry, I think I find one

| mstats latest(_value) as val where index=_metrics BY metric_name, [all-pk-dims]

Any comments? Can I have a better way rather than manually explicit list all dims?

0 Karma
Get Updates on the Splunk Community!

Happy CX Day to our Community Superheroes!

Happy 10th Birthday CX Day!What is CX Day? It’s a global celebration recognizing innovation and success in the ...

Check out This Month’s Brand new Splunk Lantern Articles

Splunk Lantern is a customer success center providing advice from Splunk experts on valuable data insights, ...

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...