Skip to content

Add time filtering to log view

Problem to solve

As part of &2114, we are building out a more robust log explorer functionality. As part of our new log explorer, we will want to include the ability to filter logs by time period.

We will need to discuss what time options we'd like to have available. Do we want a set of default options available to users (ex, show last 15 minutes, 1 hour, 1 day) or do we want more robust time filtering options available?

Intended users

Further details

Proposal

This issue has been broken down into two iterations. This issue will address the first iteration.

In this iteration, we will be adding another dropdown to the log view so that users can filter by time. It will look like this: Screen_Shot_2019-12-20_at_12.23.09_PM

The second iteration will be covered in #37983 (closed) and scheduled for a later release (currently set for %12.8)

#### This is the previous proposal notes for reference For the first pass, we can offer a series of defined options for the users. In later iterations, we can consider a more robust time/date picker.

If we add a time dropdown to the filters and search bar that are being discussed in #37425 (comment 253530405), it would look something like this:

37276-with_dropdown

During implementation, we'll likely need to consider:

  • The length of the dropdowns. The decision here will be dependent on whether or not the container has a fixed or a fluid width.
  • How this view re-sizes for different screen sizes.

A preferable way forward would be to first implement filtered search, which will avoid the two issues highlighted above. If we are able to implement filtered search first, the design would be updated as follows:

If we can get all filters into the search bar If environment still needs to be a separate dropdown
37276-filtered_search_with_time 37276-3

Which direction we proceed in will depend on the level of engineering effort required.

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by Clement Ho