Skip to content

Dynamics 365 Customer Insight helper Azure Function that takes diagnostic settings events from Azure Event Hubs and post them into Log Analytics workspace

License

microsoft/CILogProcessor

 
 

Repository files navigation

Customer Insights Log Processor

A basic Azure function that reads Customer Insights Diagnostics Settings events from Event Hubs and sends them to a Log Analytics Workspace via data collector api

Customer Insights creates 2 Event Hubs named insight-log-audit and insight-log-operational these are the 2 categories of events created by the platform. To send them both to Log Analytics you will need to setup 2 azure functions each pointing to one Event Hub.

Application Settings

  • WORKSPACEID Log Analytics workspace id key.
  • SHAREDKEY Use either the primary or secondary Log Analytics key.
  • LOG_NAME Name of the table that will be created in Log Analytics if it doesn't already exist or where data will be appended, you will find the table in the Custom Logs collection with an '_CL' sufix added to the log name.
  • PROPSTOEXCLUDE A coma separated string value of json properties to remove from each event, can be use to remove the identity property to avoid storing personally identifiable information data.

About

Dynamics 365 Customer Insight helper Azure Function that takes diagnostic settings events from Azure Event Hubs and post them into Log Analytics workspace

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%