if I have the following search that gives:
_time val1 val2 val3 val4
1 2016-02-22 14298.520982 2083.388889 10311.996070668 1658.393286670
Is there a shorthand way to round all the numbers?
Or do I just have to do a round on each val
| eval val1=round(val1,2)....
| eval val1=round(val1,2)
What you need is a foreach command
Something like this
your current search giving above output | foreach * [eval <<FIELD>>=round('<<FIELD>>',2)]
View solution in original post
tks, that exactly what I was looking for