> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> What the Azure Monitor Logs integration brings to your Neo Agent setup

Azure Monitor Logs keeps the logs your Azure resources and connected machines send to Log Analytics workspaces: heartbeats, Windows and Linux events, performance counters, sign-ins, Microsoft Sentinel tables and your own custom tables. Connect it to Neo and your agents run read-only KQL queries against those workspaces through Microsoft's Log Analytics query API.

> [!NOTE]
>
> This is its own integration, separate from the [Microsoft Azure](https://docs.neoagent.io/integrations/azure-resource-manager/overview.md) integration, which manages IP allow rules. You can connect either one, or both.

## What Neo can do with Azure Monitor Logs

> [card] KQL queries
>
> Run any read-only KQL query on the workspaces your app may read, one workspace or several at once.

> [card] Azure resource logs
>
> Read the logs one Azure resource sent, such as a VM's performance counters, from every workspace it sends to.

> [card] Workspace schema
>
> Read a workspace's tables, columns, functions and saved queries before a query.

> [card] Batches
>
> Send several queries in one call, for a scheduled report or a ticket check.

Neo only reads. A query changes nothing in Azure, and the API takes no management command.

## Use it in your own agents

Neo ships no prebuilt monitoring agent for Azure Monitor Logs: you build the agent and give it the queries your team runs. For example:

* On an alert ticket, query the workspace for the events behind the alert, and add a note with what you found.
* On a "server offline" ticket, read the machine's last heartbeat and its recent errors.
* Each morning, run your KQL on the workspace and report the machines that stopped reporting.

On a ticket, an agent queries only the workspaces mapped to the ticket's company on the **Organization Mapping** tab, so one customer's ticket never reads another customer's logs. A scheduled agent or a chat names the workspace itself: put the Workspace ID of each workspace it should query in its instructions.

## Next steps

> [card] [Connect Azure Monitor Logs](https://docs.neoagent.io/integrations/azure-monitor-logs/connecting-to-neo.md)
>
> Create an app registration, give it the Log Analytics Data Reader role, save it in Neo and turn it on for your agents.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.