You want to create a timechart showing the average response time by host, but you only want to see data for the last 7 days. How do you handle missing time buckets?
Trap 1: timechart fill=null avg(resp_time) by host
This is not a valid timechart argument.
Trap 2: timechart avg(resp_time) by host | fillnull
Fillnull is a standalone command, not a timechart argument.
Trap 3: timechart bucket=1d avg(resp_time) by host
Bucket is not a valid timechart argument.
- A
timechart span=1d avg(resp_time) by host
This correctly sets the time interval.
- B
timechart fill=null avg(resp_time) by host
Why wrong: This is not a valid timechart argument.
- C
timechart avg(resp_time) by host | fillnull
Why wrong: Fillnull is a standalone command, not a timechart argument.
- D
timechart bucket=1d avg(resp_time) by host
Why wrong: Bucket is not a valid timechart argument.