The following query will display a simple chart for trend comparison. This works well if you keep the days you're comparing =< 4 days.
The Query:
index="my_index"
| search src="all_sources"
| bin _time as Time
| eval Day=strftime(Time,"%m-%d")
| eval Hour=strftime(Time,"%H")
| chart eval(round(avg(transfer_duration), 2)) as AvgXferDuration over Hour by Day
The above query will produce the following graph. (as long as its =< 4 days)
Now, if you increase the days to > 4 days. For example, if you want to see a week's trend (7 days). You will get the following graph. Notice the graph lines become scattered points in the center. (not sure why this happens)
What is the proper way to display the graph for multiple days? e.g. > 4 days, 7 days, etc.
... View more