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 (1)
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...