If you have read my “SCOM + OMS + Azure Automation” post here, you will recognize the example referenced below. The OMS Custom Field feature gives us the ability to create custom extracted fields in OMS to isolate and extract specific values from a line of log output. This feature is very powerful, and not only allows us to create custom fields for reporting and analytics, but it provides us with an easy option to isolate one particular value in a line of output and extract that exact field for all subsequent log entries for use in automation.
For the purposes of this demo, I will be referencing custom alerts that were created using Eventcreate and a custom SCOM event collection rule which is being forwarded to OMS via the Alert Management solution.
Let’s get started…..