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

Support for Ad Hoc filters #80

Open
johnewhitley opened this issue Jul 19, 2024 · 4 comments
Open

Support for Ad Hoc filters #80

johnewhitley opened this issue Jul 19, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@johnewhitley
Copy link

johnewhitley commented Jul 19, 2024

Is your feature request related to a problem? Please describe.
Currently, when using the cloud logging data source plugin in grafana, we can not use Ad Hoc grafana filters to drive changes in the visualization.

Grafana Ad Hoc vars

Describe the solution you'd like
Ideally, I'd like to be able to click a log line in a log dashboard, click on the "+" or "-" button to create an Ad Hoc filter to show me matches (or non matches) of logs. Ex below:
image

This is supported by several other datasources. Loki doc shows support for Ad Hoc filtering.

This would allow folks to drive queries natively in the dashboards without having to use explore or open/edit a dashboard to update/edit the query.

@xiangshen-dk
Copy link
Collaborator

When you click the + sign, the plugin will update with the field. You do need to click the Run query button to run the new query though.

@johnewhitley
Copy link
Author

johnewhitley commented Sep 5, 2024 via email

@xiangshen-dk
Copy link
Collaborator

image

@johnewhitley
Copy link
Author

Ah yeah, that does work, but this does not work when you use the cloud logging data source as a dashboard whereas Loki does.

@xiangshen-dk xiangshen-dk added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants