How to generate message counts based on a datetime field other than the timestamp field

(Charles Deng) #1

for a log describe a precedure, there will a start time and an end time.
can we generate message counts chart per start time field and per end time field other than the timestamp field which is the log input time?

(Jan Doberstein) #2

if the timestamps are save as date fields in elasticsearch you can query them like date fields.

like described here:

(Charles Deng) #3

can this done at graylog GUI ?

(Jan Doberstein) #4

your query in graylog would look like:

gl2_input_time:[2018-03-07T15:02:20 TO 2018-03-07T15:02:25]

where the selected range must be present in the date picker for the query.

(system) closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.