x-pack/platform/plugins/private/drilldowns/url_drilldown/README.md
NOTE: This plugin contains implementation of URL drilldown.
Url drilldown allows navigating to external URL or to internal kibana URL. By using variables in url template result url can be dynamic and depend on user's interaction.
URL drilldown has 3 sources for variables:
kibanaUrl. Such variables won’t change depending on a place where url drilldown is used.Difference between event and context variables, is that real context variables are available during drilldown creation (e.g. embeddable panel),
but event variables mapped from trigger context. Since there is no trigger context during drilldown creation, we have to provide some mock variables for validating and previewing the URL.
In current implementation url drilldown has to be used inside the embeddable and with ValueClickTrigger or RangeSelectTrigger.
context variables extracted from embeddableevent variables extracted from trigger contextIn future this basic url drilldown implementation would allow injecting more variables into context (e.g. dashboard app specific variables) and would allow providing support for new trigger types from outside.
This extensibility improvements are tracked here: https://github.com/elastic/kibana/issues/55324