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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...