All Apps and Add-ons

Windows perf counters in a gauge with high value

devsupport
Engager

I'd like to create a gauge using two windows performance counters. One counter to represent the max value, the other should represent the current value. This query works fine in a line chart.

object="SQLServer:Databases" counter="Log File(s) Used Size (KB)" OR counter="Log File(s) Size (KB)" | timechart avg(Value) as Avg by counter

Questions:
* Using the example above, how do I refactor the query so the "Log File(s) Size (KB)" counter as the high value?
* How can the KB value be converted to GB?

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...