Logs: allow filtering from logs volume
matyax opened this issue · comments
Would we just filter in the frontend or do a new query? The issue with doing a new query is, that the volume legend would change, so I'm +1 for filtering.
@svennergr could you do a new query but NOT update the log volume graph? I.e. just do a new query in the logs panel?
The challenge of frontend filtering is that you might end up showing, e.g., 2 error lines when, for the selected time interval, you have 200 but were truncated by the response limit (1000 or 5000).
Agree. On the other hand, the challenge with running new queries is that you might lose context.
Imagine the flow:
- Filter for error logs
- User found an interesting error log
- Now the user wants to see info logs additionally to see the context of the error
- Running a new query might lose context quite easily
And I think we are aligned that Log Context is the proper tool to do this, but still.