-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Logs UI] Strange behavior with minimap, scrolling, and live streaming #43361
Comments
Pinging @elastic/infra-logs-ui |
I've also had some really weird behaviour when live streaming logs the Observability dev test cluster. I can live stream far into the future! I'm running the 7.x.x.BC cluster. @jasonrhodes Here's what I did. The behaviour is the same in Chrome and Safari.
I have a short M4 video, but I can't upload that here as MP4s aren't supported. |
What I'm wondering is why there are log entries from future days in the cluster 🤔 We might have to tweak the live streaming behavior to better handle time-travel situations. |
Not seeing the future logs on the 8.x.x cluster, I'll try switching to 7.x.x to see if I can reproduce. I am seeing the behavior where the live stream kicks you back to the bottom after scrolling, though. From a UX perspective I feel like this makes some sense. When live streaming is turned off, new log entries are loaded when you scroll to the bottom of the log stream; with that paradigm in mind it only makes sense to load additional data if you're looking at that edge of the stream. So maybe scrolling up should pause live streaming? @hbharding you want to weigh in on some of the UX questions here? |
On the 8.x.x cluster it seems to be 10 seconds. Not sure where that's defined. |
The requests happen every 5 seconds (see kibana/x-pack/legacy/plugins/infra/public/components/logging/log_time_controls.tsx Line 92 in 33c237e
|
I'm trying to improve this issue by canceling live streaming when the user scrolls up, but there's a problem: if the most recent live stream request still hasn't completed when you stop live streaming, the log stream will be replaced by a loading state. This also happens if you click the Stop Streaming button. The loading state is coupled very tightly to GraphQL, and there's no clear way to abort a pending request. Looking into this. |
Kibana version:
7.3.0
Original install method (e.g. download page, yum, from source, etc.):
Observability dev test cluster
Describe the bug:
Not entirely sure what's going on here, needs some investigation. When you turn live streaming on in the logs UI, I have a couple questions about what I should be seeing:
The text was updated successfully, but these errors were encountered: