Azure Monitor

Azure Monitor maximizes the availability and performance of your applications and services by delivering a comprehensive solution for collecting, analyzing, and acting on telemetry from your cloud and on-premises environments.

Integration with LogicHub

Connecting with Azure Monitor

To connect to Azure Monitor following details are required:

  • Label: Connection name.
  • Reference Values: Define variables here to templatize integration connections and actions. For example, you can use https://www.{{hostname}}.com where, hostname is a variable defined in this input. For more information on how to add data, see 'Add Data' Input Type for Integrations.
  • Client_id: Application Client ID.
  • Password: Service principal password.
  • Azure Tenant_id: Directory ID of the application.
  • Cloud _environment: environment to which connection has to be made.
    There are four cloud environments (AZURE_PUBLIC_CLOUD, AZURE_CHINA_CLOUD, AZURE_US_GOV_CLOUD, AZURE_GERMAN_CLOUD). AZURE_PUBLIC_CLOUD is the default cloud environment.

Actions with Azure Compute

Get Activity Log

Get activity log from resource/resource Group.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • subscriber_id_column_name: Column name from parent table to lookup value for subscriber ID.
  • Filter String Column name: Column name from the parent table to lookup value for the string on basis of which logs will be filtered.

Output of Action
List of dict. where each dict depicts one log entry. Sometimes, objects also come as a value of the dictionary as the level of nesting is not defined in logs.

Get Resource Metric

Get a metric for the resource.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • subscriber_id_column_name: Column name from parent table to lookup value for subscriber ID.
  • Filter String Column name: Column name from the parent table to lookup value for the string on basis of which logs will be filtered.
  • Resource URL Column name: Column name from the parent table to lookup value for resource URL.

Output of Action
List of dict. key of the dict will be metric_name and the value of the dict will be a list that will contain the metric_value at a different point in time.


Did this page help you?