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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...