Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show surrounding logs #8

Open
tj opened this issue Jun 16, 2020 · 2 comments
Open

Show surrounding logs #8

tj opened this issue Jun 16, 2020 · 2 comments
Labels
Accepted Accepted feature or improvement Product: Logs Issues for Apex Logs

Comments

@tj
Copy link
Member

tj commented Jun 16, 2020

It should be easy to show the logs before and after a particular event.

This might be a bit awkward, for example you have error and app = "api" to show API errors, then you want to display the surrounding events, you'd likely want to retain app = "api", so it's unclear which portion of the query can be omitted.

  • Maybe have it be part of the menu for a particular event field, retaining that field value in the filter
  • Maybe provide a few menu items for showing N minutes around the event
  • Highlight the original
@tj tj added Product: Logs Issues for Apex Logs Maybe labels Jun 16, 2020
@danielsharvey
Copy link

Also:

  • Maybe provide a few menu items for showing N log entries around the event

@tj tj added Accepted Accepted feature or improvement and removed Maybe labels Aug 3, 2020
@ForbesLindesay
Copy link

One way to do it would be to have a menu item on each log entry with:

  • show surrounding logs
  • show surrounding logs matching: app = "api"
  • show surrounding logs matching: error
  • ...etc. for each clause within the current search query...

I think for showing "N" entries around the event, you could just pick an arbitrary value for N as long as there's a "show more" button above and below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted feature or improvement Product: Logs Issues for Apex Logs
Projects
None yet
Development

No branches or pull requests

3 participants