-
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
[TSVB] Cancel discarded searches #46353
Comments
Pinging @elastic/kibana-app-arch |
Please note: TSVB uses search service server-side, which means they will need to listen to aborted$ event on Kibana request and then cancel underlying server-side searches There is an example plugin that shows this: #118176 |
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@elastic/kibana-vis-editors, just FYI, while testing on a cluster on with a lot of data, I noticed that TSVB seem to send a request on every change in an editor. As requests are not canceled it is very easy to spam elasticsearch with long-running requests while typing into "painless script" editor and get denial of service errors |
Right, you can avoid this by disabling the "Auto apply" setting. We have this scheduled for 8.2 |
Closes: #46353 Co-authored-by: Kibana Machine <[email protected]>
When a user issues a search request in a TSVB visualization, we need to cancel it in the following scenarios:
The text was updated successfully, but these errors were encountered: