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!

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...