Microsoft Azure Log Analytics integration configuration fields

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:10分
  • Description of the fields on the Microsoft Azure Log Analytics integration configuration forms for Health Log Analytics.

    For the Microsoft Azure Log Analytics integration setup procedure, see Set up a Microsoft Azure Log Analytics integration for Health Log Analytics.

    表 : 1. Provide details
    Field Description
    Integration Name Unique name of this integration. For example: My Azure Log Analytics integration. This field is required.
    注:
    When you fill in this field, the generic name displayed on the form adjusts automatically to match the name you entered.
    Execute on Option to select whether to use a specific MID Server or a MID Server cluster. This field is required.
    MID server name

    (Only when the Execute on field is set to Specific MID Server)

    MID Server to which log data from Microsoft Azure Log Analytics is pulled. This field is required.
    注:
    • You can select only MID Servers that support basic authentication. MID Servers that support mTLS are not listed.
    • The default maximum number of integrations streaming logs to a single MID Server is 10. You can modify this number in the MID Server properties.
    • If log ingestion is not enabled for the selected MID Server, Health Log Analytics enables it automatically.
    MID MID Server Cluster

    (Only when Execute on is set to Specific MID Server cluster.)

    The MID Server cluster to which the log data is pulled. This field is required.

    The data input runs on a single MID Server in the cluster until that MID Server fails. The system then moves all the data input tasks to the next available MID Server in the cluster according to the configured order.

    注:
    • Health Log Analytics supports only failover MID Server clusters. In these clusters, multiple MID Servers are grouped together for failover protection. When selecting a cluster from the data input or integration form, the MID Server clusters list displays only failover clusters.
    • The MID Server cluster must include only MID Servers that support basic authentication. mTLS is not supported for log ingestion.
    • Log ingestion must be enabled for each MID Server in the cluster. If log ingestion is not enabled for the active MID Server, Health Log Analytics enables it automatically.
    • The default maximum number of data inputs or integrations streaming logs to a single MID Server is 10. A cluster passes capacity validation if it contains at least one MID Server with fewer than 10 data inputs or integrations running on it, even when that MID Server is down.
    For more information about MID Server clusters, see Configure a MID Server cluster.
    Service instance The service instance (formerly the application service) to which to bind the log data. This field is required.
    Data source The source of the log data that the integration pulls to your ServiceNow instance: Azure Log Analytics. This field is read-only.
    Description Option to add a brief description of the integration to help identify it.
    表 : 2. Set data retrieval method
    Field Description
    Redirect url The redirect URL of the access log application. This field is required.

    The URL refers to the Microsoft Azure redirect_uri authorization property. For more information, see the Authorization code URL (GET request) section in the Microsoft Azure documentation.

    Authentication method The credentials used to access Microsoft Azure resources. This field is required.

    If no credentials exist, select Create new Azure Service Principal credential. Create a credential by filling in the fields and then selecting Submit. For information on the Tenant ID, Client ID, and Secret key fields, refer to the Microsoft Azure documentation. When you have created a credential, you can select it from the drop-down list.

    Workspace ID The Customer ID used to call the Microsoft Azure Log Analytics REST API. This field is required.
    Table name The name of the table in Microsoft Azure Log Analytics where the data input fetches the log data. For more information, see the View table information section in the Microsoft Azure documentation. This field is required.
    Event time property name The Microsoft Azure Log Analytics field in which to detect the event time. This field is required.
    表 : 3. Advanced settings
    Field Description
    Event Processor workers The number of concurrent event processing workers, where each worker processes a batch of events independently.
    Workers queue size The queue size of the Event Processor workers.
    Sub sample drop ratio The number of events to batch together, out of which one will be discarded. This setting is used to reduce the number of fetched events.
    Sub sample receive ratio The number of events to batch together, out of which all but one will be discarded. This setting is used to decrease the number of received events.
    Max documents per query The highest number of rows retrieved in each query.
    Columns to select Comma-separated list of column names to return.
    注:
    This field is ignored when you provide a custom query.
    Character encoding The character encoding for this data input.
    Sleep interval (seconds) The interval, in seconds, to wait before querying again after a query has returned no events.
    Polling interval The interval, in seconds, to wait before polling for new events.
    Drop if queue is full Option to discard logs if there is a load on the MID Server.
    Log Query Option to define your own Log Analytics query. This field overrides the values configured in the other query settings fields.
    注:
    If this field is empty, Health Log Analytics generates the query using the values set in the other fields.

    For your custom query, use the following JSON format:

    {"query": "query | where TimeGenerated > %s | take 500"}

    For example:
    {
    "query":"ContainerLog
                        | where LogEntry contains 'cartservice'
                        | where TimeGenerated > %s
                        | take 500",
    "workspaces": ["defaultworkspace-3ab145ff-f9cd-433f-8533-d1b1ee24aee6-eus"],
    "project": ["TimeGenerated", "LogEntry", "LogEntrySource"]
    }