In your timechart command, use the option
fixedrange=false
for example
yoursearchhere
| timechart fixedrange=false count
then the timechart X-axis will be cropped to only the timerange that includes valid data.
Documentation for timechart command
In your timechart command, use the option
fixedrange=false
for example
yoursearchhere
| timechart fixedrange=false count
then the timechart X-axis will be cropped to only the timerange that includes valid data.
Documentation for timechart command
That worked perfectly for my purpose.
I combined data from 2 different days, and shifted the date of the first day so that timechart would show them at the same times, but I ended with an empty set. This solved my problem. Thank you very much!