Skip to content

Add custom time ranges in logs time filters logs

Background

In #37276 (closed) we added a basic dropdown to filter log entries by date. This allows the user to select a time window for a predefined list of options.

Screen_Shot_2020-01-20_at_3.11.35_PM

See: gitlab-foss#31368 (closed) for more detail on the original design.

Objective

Given that in order to have the user go to an arbitrary range of time in #122013 (closed) we must enable a custom time range to filter dates for our logs.

Proposal

We should use the date filtering from the metrics dashboard in the logs page:

This will enable our users to select any range of time in the logs, and also visit any logs time range via a link or a bookmark.

Edited by Miguel Rincon