Data Connectors & Ingestion
Connector types · Windows Security Events via AMA · WEF · Syslog and CEF via AMA · Azure activity logs · threat indicators · custom tables
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Choosing a connector
| Source | Connector approach | Notes |
|---|---|---|
| Microsoft services (service to service) | Built-in connectors, for example the Microsoft Defender XDR connector | Integrates Office 365, Microsoft Entra ID, Defender for Identity and Defender for Cloud Apps data |
| Azure resources and subscriptions | Diagnostic settings connections, some managed by Azure Policy | Azure Activity uses the diagnostic settings pipeline |
| Windows servers | Windows agent-based connections (Azure Monitor Agent and a DCR) | Windows Security Events via AMA; Windows Forwarded Events |
| Linux and network devices | Syslog via AMA, CEF via AMA | Messages land in Syslog or CommonSecurityLog |
| Text-file logs | Custom Logs via AMA | Data lands in custom tables |
| Other APIs | Codeless Connector Framework, or Log Ingestion API from an Azure Function or Logic App | Custom connectors |
- Data connectors are provided with solutions (installed from the Content hub) or built as custom connectors. Each has a support type: Microsoft-supported, partner-supported or community-supported.
- AMA-based connectors need outbound port 443 from the agent's system to Microsoft Sentinel.
- AMA uses data collection rules (DCRs): define once, reuse across machines, and filter data at the source to save ingestion cost.
- Connect data sources: write permission on the workspace.
After September 14, 2026, the legacy HTTP Data Collector API is no longer supported. Move to the Logs Ingestion API or the Codeless Connector Framework.
Windows events: Security Events via AMA and WEF
| Connector | Collects | Table |
|---|---|---|
| Windows Security Events via AMA | Security events from Windows machines (Windows agents only) | SecurityEvent |
| Windows Forwarded Events | Windows Event Forwarding (WEF) logs, collected through AMA on the Windows Event Collection (WEC) machine | WindowsEvent |
- A machine that isn't an Azure VM (physical, on-premises VM, other cloud) must have Azure Arc installed and enabled before you enable an AMA connector.
- Windows Forwarded Events needs WEC enabled and running, with AMA installed on the WEC machine. Install the ASIM parsers for normalization.
- Forwarded events, even from the Security log, go to
WindowsEvent, notSecurityEvent. Many built-in Windows Security Events rules, including some NRT rules, querySecurityEvent. To use them unchanged, use Windows Security Events via AMA; otherwise adapt the queries toWindowsEventor ASIM parsers. - In the DCR wizard (Collect tab) choose All events or Custom (XPath). The Security Events connector also offers pre-built sets Common and Minimal.
- XPath entries look like
LogName!XPathQuery. Up to 20 expressions per box and 100 boxes per rule; XPath 1.0 only. Test withGet-WinEvent -FilterXPath. - The DCR's resource group doesn't have to match the monitored machines' group, as long as it's in the same tenant.
Syslog and CEF via AMA
- Install the matching solution from the Content hub, then open Syslog via AMA or Common Event Format (CEF) via AMA and choose Create data collection rule. The connector installs AMA on the machines you select.
- Syslog messages appear in the
Syslogtable; CEF messages inCommonSecurityLog. - For devices that can't run an agent (such as a firewall) use a Linux log forwarder: AMA on the forwarder, devices send to the forwarder's syslog daemon.
- Forwarder needs:
rsyslogorsyslog-ngenabled; Python 2.7 or 3; Azure Arc Connected Machine agent if it isn't an Azure VM. - Run the installation script on the forwarder so the daemon listens for other machines and opens local ports.
- Pick a minimum log level per facility; higher severities are included (LOG_ERR also collects LOG_CRIT, LOG_ALERT, LOG_EMERG).
- Using the same facility for both syslog and CEF might duplicate ingestion.
- Roles to set up: Virtual Machine Contributor or Azure Connected Machine Resource Administrator (deploy agent), a role with
Microsoft.Resources/deployments/*(ARM templates), Monitoring Contributor (create or edit DCRs). - With the Logs Ingestion API set
streamstoMicrosoft-SyslogorMicrosoft-CommonSecurityLog. - The legacy Syslog connector article (marked deprecated) says the Log Analytics agent "will be retired on 31 August, 2024" and recommends migrating to AMA.
Azure activity logs and diagnostic settings
- The Azure Activity connector uses the diagnostic settings pipeline. If subscriptions use the legacy method, Disconnect All first.
- Standalone diagnostic settings connectors need read and write on the workspace: open the resource, Diagnostic settings > Add diagnostic setting, tick Send to Log Analytics, pick the workspace and the log types.
- Azure Policy-managed connectors apply one diagnostic settings configuration to all resources of one type in a scope. Select Launch Azure Policy Assignment wizard. You also need the Owner role for the policy assignment scope.
- The activity log is collected automatically; resource logs aren't collected until you create a diagnostic setting.
- Activity log retention is 90 days by default; a diagnostic setting extends it (up to 12 years). No ingestion charge for activity logs.
- Each resource can have up to five diagnostic settings; one setting holds at most one destination of each type.
Threat indicators
| Method | Detail |
|---|---|
| Defender Threat Intelligence connector | Standard and premium connectors: the free version brings public IOCs and OSINT; premium adds Microsoft IOCs and Microsoft-enriched OSINT |
| Threat Intelligence - TAXII | Pull indicators from TAXII 2.0 or 2.1 servers; needs API root URI and collection ID. Install the Threat Intelligence solution first |
| Threat Intelligence upload API (preview) | No data connector. Register a Microsoft Entra app, give it Microsoft Sentinel Contributor at the workspace level, use STIX objects |
| Threat Intelligence Platform connector | Legacy REST API (tiIndicators); indicators only; on the path for deprecation |
- TAXII connector fields: friendly name, API root URL, collection ID, username and password if needed, indicator group and polling frequency. TAXII Export sends data out over TAXII 2.1.
- Registering an app: users can by default; if not, an Application administrator, Application developer or Cloud application administrator role is needed.
- Configure ingestion rules on data connectors to reduce noise.
Custom log tables
- Azure tables have predefined schemas; for another schema create a custom table fed by a DCR.
- Custom tables end in
_CL. The Azure portal adds the suffix; with other methods (CLI, API) you add it. The DCR stream's table name must match. - Choose a table plan: Analytics (default), Basic or Auxiliary / Lake.
- Every table needs
TimeGenerated. If your sample lacks it, the portal adds a transformation that creates it. Auxiliary / Lake plans need ISO 8601 with six decimal places. - Portal: Log Analytics workspace > Tables > Create; supply a sample JSON file and optionally a KQL transformation.
- Permissions:
Microsoft.OperationalInsights/workspaces/*at workspace scope (Log Analytics Contributor) to manage the table;Microsoft.Insights/dataCollectionRules/writeon the resource group (Monitoring Contributor) to create the DCR. - After a schema change, update every DCR that sends data to the table. Table names are used for billing, so keep sensitive data out of them.
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Create a custom table (Analytics plan) | az monitor log-analytics workspace table create --resource-group "$resourceGroupName" --workspace-name "$workspaceName" --name "$tableName" --plan Analytics --columns TimeGenerated=datetime RawData=string | - |
| Test an XPath filter for a DCR | - | Get-WinEvent -LogName 'Application' -FilterXPath $XPath |
Exam Tips
Tick each tip once you can answer it without looking.
“Firewall can't run an agent but sends syslog or CEF” → Linux log forwarder with AMA; DCR created from the Syslog or CEF via AMA connector. Trap: The agent goes on the forwarder, not on the device.
“Which table do syslog and CEF messages land in” → Syslog / CommonSecurityLog. Trap: CEF isn't in the Syslog table.
“On-premises or other-cloud Windows server for an AMA connector” → Azure Arc installed and enabled first. Trap: WEC and Python are prerequisites of other scenarios.
“Windows Forwarded Events (WEF) table” → WindowsEvent, not SecurityEvent. Trap: Built-in Windows Security Events rules query SecurityEvent and miss it.
“Use built-in SecurityEvent rules unchanged” → Windows Security Events via AMA connector. Trap: Otherwise adapt queries to WindowsEvent or ASIM parsers.
“WEF collection setup” → WEC machine enabled and running, AMA installed on it. Trap: The page puts AMA on the WEC machine.
“Reduce Windows event ingestion cost” → DCR filtering at the source: Common or Minimal set, or custom XPath. Trap: Filtering later in queries still ingests the data.
“XPath limits in a DCR” → 20 expressions per box, 100 boxes per rule, XPath 1.0. Trap: Entries are LogName!XPathQuery.
“Minimum syslog level set to LOG_ERR” → Collects ERR, CRIT, ALERT and EMERG. Trap: Lower severities are not collected.
“Same facility used for syslog and CEF” → Possible duplicate ingestion. Trap: Use different facilities.
“Role to create or edit a DCR” → Monitoring Contributor. Trap: Virtual Machine Contributor and Azure Connected Machine Resource Administrator deploy the agent.
“Azure Activity connector with legacy subscriptions” → Disconnect All legacy connections, then set up via diagnostic settings. Trap: The Azure Activity connector now uses the diagnostic settings pipeline.
“Azure Policy-managed diagnostic settings connector” → Owner on the policy assignment scope, plus workspace read and write. Trap: Standalone connectors need only workspace read and write.
“Keep activity log entries beyond 90 days” → Diagnostic setting to a Log Analytics workspace (retention up to 12 years). Trap: The activity log isn't kept indefinitely by default.
“TIP or custom app sends STIX objects with no data connector” → Upload API; Entra app with Microsoft Sentinel Contributor at workspace level. Trap: The Threat Intelligence Platform connector is legacy and on the path for deprecation.
“Pull indicators from a STIX/TAXII server” → Threat Intelligence - TAXII connector with API root and collection ID (TAXII 2.0 or 2.1). Trap: TAXII Export sends data out, over TAXII 2.1.
“Custom table name from CLI or API” → You must add the _CL suffix yourself. Trap: The portal adds it automatically.
“Custom table sample has no TimeGenerated” → The portal creates a transformation that adds it. Trap: Every workspace table needs TimeGenerated.
Sources
- Microsoft Sentinel data connectors
- Connect Microsoft Sentinel to Azure, Windows, and Microsoft services
- Connect Microsoft Sentinel to other Microsoft services with a Windows agent-based data connector
- Ingest syslog and CEF messages to Microsoft Sentinel with the Azure Monitor Agent
- Connect Microsoft Sentinel to other Microsoft services by using diagnostic settings-based connections
- Find your Microsoft Sentinel data connector
- Connect your threat intelligence platform with the upload API (preview)
- Connect Microsoft Sentinel to STIX/TAXII threat intelligence feeds
- Threat intelligence in Microsoft Sentinel
- Add or delete tables and columns in Azure Monitor Logs
- Activity log in Azure Monitor
- Diagnostic settings in Azure Monitor
- Collect Windows events from virtual machines with Azure Monitor Agent
- Connect Syslog data to Microsoft Sentinel (deprecated)
- Tutorial: Forward Syslog data to Microsoft Sentinel and Azure Monitor by using Azure Monitor Agent
Checked against Microsoft Learn on November 13, 2026.