0
Completed

PowerShell LogWriter to write Broker logs directly to OMS for real time MIM alerting/monitoring

Bob Bradley 3 weeks ago in MIM Health Check • updated 3 weeks ago 3

Presently the email logwriter is used at 2 sites to write ERROR level alerts to designated UNIFY O365 distribution groups.  However these would be better served as JSON alert records written to OMS in the identical format of the corresponding Health Check JSON file.  This way they could drive both (selective) OMS alerting as well as (selective) dashboard publishing.

I'm thinking of implementing this myself, but I can see a broader benefit of consistent automated real-time montitoring across all Broker sites (particularly with Event Broker, which is now a prerequisite for ALL UNIFY MIM sites.

Answer

Answer
Completed

Hi Bob,

Identity Broker v5.2 includes the Azure Log Analytics Log Writer and so can do this out-of-the-box. The next release of Event Broker (after v4.0) should also include this log writer.

Please see the latest comment on the linked ticket for an example PowerShell script for use in lower versions of the two products.

GOOD, I'M SATISFIED
Satisfaction mark by Bob Bradley 3 weeks ago
Answer
Completed

Hi Bob,

Identity Broker v5.2 includes the Azure Log Analytics Log Writer and so can do this out-of-the-box. The next release of Event Broker (after v4.0) should also include this log writer.

Please see the latest comment on the linked ticket for an example PowerShell script for use in lower versions of the two products.

Thanks Curtis - I am familiar with the OMS writing process having worked on the development of the Health Check script, but this is helpful.