By default, Discover today offers three cell actions: Filter for, Filter out, and Copy value.
Discover's contextual awareness framework should provide an extension point allowing to register additional cell actions. Currently, it’s extensible via the Cell Actions registry (https://github.com/elastic/kibana/pull/157201), and this needs to be kept to stay compatible with security solutions. However, the aim should be to have a holistic solution on the long run.
It should be possible to register additional cell actions:
for all cells (like Filters currently, this could be used to add an alert keeping the current search context, adding an additional filter)
for specific cells (e.g. for a hostname field there could be a link action to a dashboard about the host)
Those cell actions should should have access to the value of the cell, to the displayed in the row document, the query including time range that provided the document as part of the result.
This should enable the following potential use cases in the Logs Context on data table cell level:
Creating an SLO
Creating a Custom threshold rule
Navigate to an overview of a given host
✔️Acceptance criteria:
Discover's contextual awareness framework should be extended by an extension point allowing to register additional cell actions of Discover's data table, that can be added for all cells or for cells containing the value of specific fields
It should be used in an example profile
Apart from unit tests it should be covered by functional tests using the example profile
đź““ Summary:
By default, Discover today offers three cell actions: Filter for, Filter out, and Copy value.
Discover's contextual awareness framework should provide an extension point allowing to register additional cell actions. Currently, it’s extensible via the Cell Actions registry (https://github.com/elastic/kibana/pull/157201), and this needs to be kept to stay compatible with security solutions. However, the aim should be to have a holistic solution on the long run.
It should be possible to register additional cell actions:
Those cell actions should should have access to the value of the cell, to the displayed in the row document, the query including time range that provided the document as part of the result.
This should enable the following potential use cases in the Logs Context on data table cell level:
✔️Acceptance criteria: