Splunk Search

radial gauge for displaying latest heap memory usage

raghul725
Explorer

Hello, I have the following log

 

19:02:32.576 [hz.cache-server-2.HealthMonitor] INFO com.hazelcast.int.dia.HM - [X.X.X.X]:5701 [X.X.X.X] [3.11.1] processors=12, physical.memory.total=98.2G, physical.memory.free=12.0G, swap.space.total=0, swap.space.free=0, heap.memory.used=4.3G, heap.memory.free=901.8M, heap.memory.total=5.2G, heap.memory.max=5.2G, heap.memory.used/total=82.96%

 

And I am looking to extract the latest heap.memory.used/total value for the last 24 hours and display it in radial gauge

 

Currently I am using the following 

index=* "heap.memory.used/total" | rex "heap.memory.used/total=(?<Number>\d+)" | stats latest(Number) as current_cpu_usage
| gauge 0,20,40,60,80,100

 

I expected radial gauge to show the current mem usage i.e. 82.96%, but the speedo is stuttering at 0.

 

I wonder my extraction of the % field is incorrect.

Could someone assist me  here and also how would I display the mem usage percentage in the dial please?

 

Best Regards,

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

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...