graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Add "move time forward" and " move time backward" buttons when performing an absolute search

Open drewmiranda-gl opened this issue 1 year ago • 7 comments

What?

Add 2 buttons on the graylog search page (or wheverever search bar exists, e.g. Dashboards):

  • Move time forward
  • Move time backward

Example mockup:

image

Why?

When digging deep into logs, it is common to need to shift the time range selection of the search result. For example, viewing data in chunks 1 hour at a time. If you don't see what you are looking for you can step backwards/forwards in the interval difference of End-Start.

Grafana implements this:

image

This would be a large quality of life improvement and could help to deal with pagination issues we have currently due to max scroll size.

drewmiranda-gl avatar Oct 16 '24 16:10 drewmiranda-gl

I can imagine doing this for relative searches as well like 5 Minutes which will convert to absolute time range, once you hit the previous button.

kmerz avatar Oct 18 '24 12:10 kmerz

@kmerz @drewmiranda-gl I like the idea. We can consider this for the DW search too. @linuspahl how big would the effort be for this?

Emy-01 avatar Oct 18 '24 13:10 Emy-01

@Emy Do you mean the effort to reuse this feature on the DW search or the effort to implement this feature in general?

linuspahl avatar Oct 18 '24 13:10 linuspahl

@linuspahl Hi, I think you pinged the wrong Emy. ;)

CC: @Emy-01

emy avatar Oct 18 '24 13:10 emy

@linuspahl I meant the feature in general

Emy-01 avatar Oct 18 '24 13:10 Emy-01

Thanks and sorry @Emy!

linuspahl avatar Oct 18 '24 13:10 linuspahl

@Emy-01 It is not something that we can implement in half an hour, but it won't take multiple days.

linuspahl avatar Oct 18 '24 13:10 linuspahl