Audit trail with Azure Application Insights

To be able to see audit logs with Azure telemetry you need to first configure your Sitefinity CMS project to use Azure Application Insights. To learn how to do this, see Integrate Sitefinity CMS with Azure Application Insights.

There is a custom field introduced in the Azure telemetry, which can be used for filtering the Sitefinity log category. This can be used to obtain the logs for Audit. For example:

Kusto
traces 
| extend SitefinityLogType = tostring(customDimensions.sitefinityLogType) 
| extend ItemTypeFullName_ = tostring(parse_json(message).ItemTypeFullName) 
| extend EventType_ = tostring(parse_json(message).EventType) 
| extend LoginResult_ = tostring(parse_json(message).LoginResult) 
| where SitefinityLogType == "Audit"
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?