Get application insights availability test URL (Logic Apps) RRS feed

  • Question

  • Hi all,

    We have an availability test testing an URL and have a logic app running when there is an alert.

    Is there any way to have the URL of the tested URL to use in the logic app through the API or any other way?

    Thank you

    Tuesday, October 15, 2019 1:26 PM

All replies

  • Could you try HTTP connector and call the HTTP endpoint and see if this helps.

    Select HTTP trigger

    Enter HTTP trigger parameters

    Also you can consider Azure Application Insights connector for Logic app.

    Azure Application Insight Connector has actions 

    1) Run Analytics Query

    2) Visualize Analytics query

    For connecting to Application Insight Resource , you need an application ID and an API key which can be retrieve from the Azure portal.

    In the Following examplethe query selects the failed requests within the last day and correlates them with exceptions that occurred as part of the operation. Analytics correlates the failed requests, based on the operation_Id identifier. The query then segments the results by using the autocluster algorithm.

    Hope  this will help.

    Logic App Designer

    Application ID in the Azure portal

    Logic App Designer flow connection window

    Wednesday, October 16, 2019 8:44 AM
  • The http call to the endpoint doesn't give the URL being tested and the connector using the API key is impossible for us to use as it uses a different key per application insights resource and we have over 50 of them...

    I find it really really weird that an alert on a failed test of an URL doesn't have the information on the failed URL.

    Wednesday, October 16, 2019 8:51 AM
  • Sure. Thanks for more insight on this. I will check internally on this and will update this thread.
    Wednesday, October 16, 2019 8:59 AM
  • Thak you for trying to help.

    Wednesday, October 16, 2019 9:01 AM