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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...