Hello,
I want to be able to ignore days where data was not collected. I am using the following search:
index="x"
| timechart span=1d count(Number)
What command can I use to ignore these non value added days?
Timechart generates a continuous timerange. If you just want the count on days where there are some events, just do the following:
index="x"
| bin _time span=1d
| stats count(Number) by _time
Or try the following, by setting cont=false
for the timechart command:
index="x"
| timechart span=1d cont=false count(Number)
Try adding cont=f
parameter
index="x"
| timechart span=1d count(Number) cont=f
Timechart generates a continuous timerange. If you just want the count on days where there are some events, just do the following:
index="x"
| bin _time span=1d
| stats count(Number) by _time
Or try the following, by setting cont=false
for the timechart command:
index="x"
| timechart span=1d cont=false count(Number)
@FrankVl, you documented both... I thought I would just add the timechart one 😉