Splunk Enterprise

help on round in timechart

jip31
Motivator

hello

I dont succeed to round the fiel ResponseTime which is a decimaf field with a point instaed a comma

 

index=tutu 
| eval web_duration_ms=round('web_duration_ms', 0)
| timechart avg(web_duration_ms) as ResponseTime by Url

 

 what is wrong please?

Labels (1)
Tags (1)
0 Karma

ashvinpandey
Contributor

@jip31 Please try using the below code:

index=tutu 
| timechart avg(web_duration_ms) as ResponseTime by Url
| eval ResponseTime=round(ResponseTime, 3)

Also, if this reply helped you a thumbs up would be appreciated.

0 Karma

jip31
Motivator

hi

it dont works

is anybody can help please?

0 Karma
Get Updates on the Splunk Community!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...