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:
The second iteration will be covered in #37983 (closed) and scheduled for a later release (currently set for %12.8)
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:
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 |
---|---|
Which direction we proceed in will depend on the level of engineering effort required.