@LXF Thank you for reaching out to us, above information looks good to me, however I will try to explain the same in different words
The connectivityCriteria
property in Azure Sentinel is used to define a set of criteria that determine whether a data connector is connected and operational.
In the case of the IsConnectedQuery
type, the value
property contains a Kusto Query Language (KQL) query that is used to determine whether the data connector is connected. The query in the example you provided checks whether the GitHubAuditLogPolling_CL
table has received any logs in the last 30 days. If the query returns a positive result (i.e., IsConnected = true
), then the data connector is considered to be connected and operational.
If your server hasn't sent any events to Sentinel for an extended period, like 30 days, then the query in the IsConnectedQuery
criteria will return IsConnected = false
, indicating that the data connector is not connected. To ensure that the data connector remains connected, you should configure your server to send events to Sentinel on a regular basis. You can also adjust the ago()
function in the query to a shorter time period to ensure that the data connector is checked more frequently.
I hope this helps! Let me know if you have any further questions.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.