AppD Archive

Custom Metric floating Value

CommunityUser
Splunk Employee
Splunk Employee

Hi,

is it possible to create a custom metric using a floating value? It seems all metrics must be long. Is that right?

Regards

Thomas

0 Karma

Arun_Dasetty
Super Champion

Hi Thomas,

We confirm your understanding is right, we currently do not support float values for custom metrics as metric browser shows only int , long data value as of now. Hope that clarifies.

Please be sure that we already have future request to support float metrics but there is no ETA for target fix version as of now, What i could suggest is modify script that is reporting float values as follows:

actual value * 100 and show this is the value and when you set any Health rule alert in condition section set the condition using custom expression as / 100 as such, so that you can monitor float as long values in metric browser and can use HR alerts by / 100 to get alert as per float value, Hope that information helps.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

thx for your fast reply.

I want to show the float value on a dashboard. For health rule this is fine but I cannot use it for a dashboard because the value is wrong and I cannot change the value on the dashboard.

Regards,

Thomas

0 Karma

Arun_Dasetty
Super Champion

Hi Thomas,

We understood your concern, as of now float values are not supported in UI and as we statd earlier feature request for this is in roadmap, appreciate your cooperation with us while the feature is being worked on

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...