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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...