Skip to content

Add time filters to log view

Miguel Rincon requested to merge 37276-add-time-filtering-to-log-view into master

Depends on backend work at !22734 (merged) (which resolves #37986 (closed)).

Otherwise ready for reviews.

What does this MR do?

Adds a new time window "Show last" selector to the logs page (e.g. /root/autodevops-deploy/-/logs)

NOTE: Please setup a cluster with elasticsearch enabled for logs. More info at docs MR !22614 (merged)

Screenshots (feature flag enable_cluster_application_elastic_stack ON)

logs page (es enabled) logs page (es disabled) dropdown close up
image image image

Additional screenshots (feature flag enable_cluster_application_elastic_stack OFF)

Screen_Shot_2020-01-16_at_5.01.34_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Issue: #37276 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports