GoogleCloudPlatform / cloud-logging-data-source-plugin

https://grafana.com/grafana/plugins/googlecloud-logging-datasource/
Apache License 2.0
17 stars 13 forks source link

Log Analytics Query Support #61

Open vijaytdh opened 10 months ago

vijaytdh commented 10 months ago

Hi,

Are there any plans to support Log Analytics SQL syntax? This allows you to write more advanced queries, perform aggregations etc basically the features described here: https://cloud.google.com/blog/products/devops-sre/introducing-cloud-loggings-log-analytics-powered-by-big-query and here https://cloud.google.com/logging/docs/log-analytics

It would be nice if the plugin supported the syntax.

Thanks!

charlesbaer commented 10 months ago

Hi,

Thanks for the request. There aren't any current plans to offer the SQL syntax.

However, you can use the linked dataset option in Log Analytics to query the log data from Grafana using the BigQuery for Grafana plugin: https://grafana.com/grafana/plugins/grafana-bigquery-datasource. Will this approach help address your use case?

Thanks!