I have below query which shows values in line chart with up to 5 decimals and I want to limit it to max 2 decimals.
search text .. | eval reqs = 1 | timechart span=24h per_hour(reqs) as AvgReqPerHour
Thank @etoombs It worked.
Add this after your time chart:
| fieldformat AvgReqPerHour= round(AvgReqPerHour,2)
If you don't want the rounding, look at floor or max for the behaviors you want.