Forum Discussion

fefers's avatar
fefers
Copper Contributor
Jun 30, 2020

Azure Monitor Collection

hey there!

 

I need to grab data from Azure Monitor to InfluxDB.
NOTE: I cannot use Grafana Azure plugin, as this solution by passes InfluxDB, and the data must go to InfluxDB.
I’ve tried to check Azure CLI, but it does not apply to Azure Monitor service.

Not sure about Telegraf plugin…

Any thoughts? Anything will be helpful…

 

Thanks in advance.

6 Replies

  • fefers 

    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

    • adhiraj_g's avatar
      adhiraj_g
      Copper Contributor

      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

       

       

       

       

       

       

       

       

       

      • tschary's avatar
        tschary
        Copper 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

Resources