Need some help adding a 0 count at search time.
I have a log that contains the execution duration of a code function.
Using stats I can count the number of times the function took
|stats count by functionDuration
functionDuration|count
120|1
122|2
123|1
124|5
130|10
132|8
From this the functionDuration took 120 1 time, 122 2 times, etc...
I would like to show a count of 0 for the missing functionDuration times.
functionDuration|count
120|1
121|0
122|2
123|1
124|5
125|0
126|0
127|0
128|0
129|0
130|10
131|0
132|8
I searched around and couldn't find answer.
Thanks for any help.
... View more