[Recommended] OSSEC via AMA connector for Microsoft Sentinel

OSSEC data connector provides the capability to ingest OSSEC events into Microsoft Sentinel. Refer to OSSEC documentation for more information.

Connector attributes

Connector attribute Description
Log Analytics table(s) CommonSecurityLog (OSSEC)
Data collection rules support Azure Monitor Agent DCR
Supported by Microsoft Corporation

Query samples

Top 10 Rules


| summarize count() by RuleName

| top 10 by count_


To integrate with [Recommended] OSSEC via AMA make sure you have:

  • ****: To collect data from non-Azure VMs, they must have Azure Arc installed and enabled. Learn more
  • ****: Common Event Format (CEF) via AMA and Syslog via AMA data connectors must be installed Learn more

Vendor installation instructions


This data connector depends on a parser based on a Kusto Function to work as expected which is deployed as part of the solution. To view the function code in Log Analytics, open Log Analytics/Microsoft Sentinel Logs blade, click Functions and search for the alias OSSEC and load the function code or click here, on the second line of the query, enter the hostname(s) of your OSSEC device(s) and any other unique identifiers for the logstream. The function usually takes 10-15 minutes to activate after solution installation/update.

  1. Secure your machine

Make sure to configure the machine's security according to your organization's security policy

Learn more >

Next steps

For more information, go to the related solution in the Azure Marketplace.