Forum Discussion
Azure Monitor Collection
For metrics data you can use the https://docs.microsoft.com/en-us/rest/api/monitor/metrics/list#examples
You can then use a logic app, to periodically call this API and then ingest data into influx DB.
You can also https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings#:~:text=Create%20diagnostic%20settings%20in%20Azure%20portal%201%20Where,to%20send%20the%20logs.%20...%20More%20items...%20 to export the metrics or logs to Event Hub and then have an adapter to read from Event hub to write to Influx DB.
regards
-ketan
Hi Ketan Ghelani,
I was also checking for options to extract Metrics data from Azure to Grafana and came across this post.
Will the specified option work for a multi-tenant environment?
As Grafana does not support access to multiple AD setup using Azure Monitor Data Source.
I wish to collect Azure monitor metrics and Cost usage data [https://docs.microsoft.com/en-us/rest/api/consumption/] available and store in to an external Influx DB (outside azure) if possible then visualize on Grafana.
Hope to hear back from you soon.
Regards,
Adhiraj
- tscharyNov 01, 2021Copper Contributor
Hi adhiraj_g and Ketan Ghelani ,
I am also looking for options to extract log analytics data from Azure to Grafana without using Azure Monitor plugin. Did you guys figured it out. how did you archived. will you please help me.
Thanks for the support!!!
Regards,
tschary
- Scott_KinghornNov 04, 2021
Microsoft
tschary Here are a couple links that cover some options for exporting data from Log Analytics: export to storage or event hub and export with a logic app. Once you have the data in your new data store you can get that setup on Grafana. Would you mind sharing why you don't want to use Log Analytics and the Azure Monitor plugin for Grafana? KayodePrince and I would like to know if there is something about the experience we could improve.
- tscharyNov 04, 2021Copper ContributorThanks Scott_Kinghorn for the information. I will go through it. We have seen some performance problems like slowness and connection timeouts to log analytics from Grafana using Azure monitor plugin.