Splunk Enterprise

How to implement this Prometheus Query using Splunk Query Language

lpolo
Motivator

Hi,

What is the best query to map this promethues query in splunk query language?

Prometheus query:
100*sum_over_time(metric_name_gauge{}[1d:1m])/1440

metric_name_gauge  possible values 0 or 1.

This query adds the values of metric_name_gauge for a period if 1 day with a resolution of 1 minute and then, it divides the result by the number of minutes in a day which is 1440 minutes. --> a period to time of 1d.

Any idea How to implement this query using Splunk Query Language...

Thanks in advance.

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...