Provide search capability on pod details Logs tab
See original GitHub issueToday when clicking on a pod to get the pod details sidecar, the Logs tab will show either the streaming logs or not (if the user disables streaming). While this is useful, if there is a lot of log output, it may be hard to locate specific log statements the user cares about.
If using a normal text based terminal window, a user might run a logs command piped through grep someRegularExpression
. Typing such a command in a Kui session opens up the pod details sidecar to the Logs tab, but that results in an error that grep does not understand the --tail
parameter. This is not surprising as the Logs tab is not designed to work with piped commands. The user task, however, is a desire to search/filter log output to find something specific. It would be useful for the Logs tab to support some type of search feature where the user could enter a search string and then have the Logs tab filter the output to show the matches (and then be able to clear the search).
Some UX design work would be needed to have this follow similar other search patterns, but the feature would be useful.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top GitHub Comments
@berenss thoughts?
Yes it’s the latter, effectively a log tail with a grep. So having a filter box where I can I put the grep value and then the log follow will show me a reduced set of entries based on what is in the filter box.
We have another ctl being included for which a download capability would be very ideal! Not sure if our web browser based implementation can handle that thou.