Skip to content
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

[Infra UI] Allow for passing arbitrary KQL expressions in the entry urls #23316

Closed
weltenwort opened this issue Sep 19, 2018 · 0 comments
Closed
Assignees
Labels
Feature:Metrics UI Metrics UI feature loe:small Small Level of Effort Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@weltenwort
Copy link
Member

By introducing a parameter (e.g. ?filter=...) that allows passing arbitrary KQL expressions in the link-to entry routes (see #23246), other parts of the UI can pre-populate the filter with expressions that the infra ui can not interpret. Examples for that would be APM filtering by a transaction id or an ip address.

The KQL expression should be combined using a conjunction with the other filters derived from the parameters (such as the hostname or container id filter). The route /link-to/host-logs/host1?filter=transaction.id:123 would result in the KQL expression (${CONFIGURED_HOSTNAME_FIELD}:host1) and (transaction.id:123) being used as the initial filter.

@weltenwort weltenwort added :Ingest UI Feature:Metrics UI Metrics UI feature loe:small Small Level of Effort labels Sep 19, 2018
@alvarolobato alvarolobato added Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services [zube]: Inbox labels Jan 29, 2019
@simianhacker simianhacker self-assigned this Feb 19, 2019
simianhacker added a commit to simianhacker/kibana that referenced this issue Feb 19, 2019
simianhacker added a commit to simianhacker/kibana that referenced this issue Feb 20, 2019
* Fixes elastic#23316 - Add filter as a link-to parameter for logs

* Add unit test case
simianhacker added a commit that referenced this issue Feb 21, 2019
* Fixes #23316 - Add filter as a link-to parameter for logs

* Add unit test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature loe:small Small Level of Effort Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

No branches or pull requests

4 participants