Dashboards & Visualizations

Singal value - Jumping to 0 and then back to correct value on dashboard

robertlynch2020
Motivator

Hi 

I have a signal that I am updating every 5 seconds, but it jumps to 0 every now and again.

The issue is a user can read this and think all the processes are gone off the system

What it should look like

robertlynch2020_1-1627383060230.png

This happens every now and again, So how do I get it to wait for the job to be 100% finished before it updates the answer?

robertlynch2020_0-1627383035007.png

 

 <panel>
      <single>
        <search>
          <query>| mstats max("mx.process.cpu.utilization") as cpuPerc WHERE "index"="metrics_test" AND mx.env=http://mx20267vm:15000 span=2m BY pid cmd process.name service.type host.name service.name 
| table _time pid 
| stats count(pid) as Cnt by _time 
| table _time Cnt 
| timechart max(Cnt) span=2m</query>
          <earliest>-1h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
          <refresh>5s</refresh>
          <refreshType>delay</refreshType>
        </search>

 

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...