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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...