-
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
[Lens] Trigger a filter action on click in embedded visualizations for xychart #52806
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
The SIEM team is planning on embedding instances of |
I spent some time over the last couple days digging into Lens code and hacked a POC of this working. Not sure if this is the "right" way to do it, but if you add a
🤷♀ I am mainly thinking of this in the context of threshold alerts, so am just experimenting and getting familiar with the code, but maybe this will help since last we chatted there was a big open question of how to pass this information along in the context of filters. |
Thanks for looking into this, your suggestion seems like a simple and effective one in the short term. In the long term I think Lens will need to stop using the |
I think the related elastic-charts issue is elastic/elastic-charts#505 |
Synced with @ppisljar about this yesterday. We agreed that the ideal solution is:
We also talked about some more improvements to this:
I'm not sure we actually want to emit two different triggers though, because then users would need to attach their custom actions on two different triggers. We'll think about this experience with drilldowns as we discuss triggers. cc @streamich |
totals could be provided, but hierarchy information is indeed lost on the KibanaDatatable |
i started working on PoC here: #55351 |
First blocker is now closed, click events in the chart will provide the series ID in the next release of elastic-charts |
@ppisljar Now that your PR is merged, it seems like we are unblocked! |
let me know if you need any help, or if something is not working as expected |
Wanted to leave a comment on how this is related to Drilldowns. And what can be done to enable Drilldowns for Lens. This issue was created back in December when we just had a single
I'm noting that because in the draft PR I've seen only To enable Drilldowns feature for Lens, the
|
Expected behavior: When I click a part of a visualization created with Lens, it will apply a filter in a dashboard.
The text was updated successfully, but these errors were encountered: