Dashboards & Visualizations

Remove decimal values in a table

vishwa
Path Finder

Hi all, I have table where the values are showing as

234.000000

56.000000

But we want to remove zeros and shown only

234

56

How we do this???

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

gcusello
SplunkTrust
SplunkTrust

Hi @vishwa,

use eval round (https://docs.splunk.com/Documentation/SCS/current/SearchReference/MathematicalFunctions#round.28.26l...😞

| eval your_field=round(your_field,0)

Ciao.

Giuseppe 

vishwa
Path Finder

@gcusello ,@Thank  you

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...