Create Custom Fields in OMS

Posted by Florent Appointaire on October 11, 2017
No ratings yet.

OMS logo

A new functionality appears a few months ago on OMS, with the possibility to create a custom field. It’ll give you the possibility to class simply and quickly your custom search.

To start, be sure to have an OMS workspace and to get logs:

Microsoft Operations Management Suite - Data - Windows Event Logs

Verify in the search that you have some logs available:

Microsoft Operations Management Suite - Log Search

Select a log that interests you and for who you want to create a custom field. I’ll select a log about the restart of a service:

Microsoft Operations Management Suite - Logs - Event

Click on just beside ParameterXml (you can do it in another category if you want) and choose Extract fields from ‘Event’ (Preview):

Microsoft Operations Management Suite - Extract fields from "Event" (preview)

You’ll arrive on a selection page, like this:

Microsoft Operations Management Suite - Log Search - Preview

Select the part that interests you, give him a name and click on Extract:

Microsoft Operations Management Suite - Log Search - Preview - Extract

Automatically, OMS will search in current logs if it founds correspondence. If it has, it will automatically pass them in blue. If it’s not done automatically, or if it misses a text part, click on the 3 small points and choose Modify this highlight:

Microsoft Operations Management Suite - Search Results - Highlights

Select the text and associate it with the custom field created previously:

Microsoft Operations Management Suite - Select the Text - Extract

When all results of the search are associated with a custom field, click on Save Extraction:

Microsoft Operations Management Suite - Search Results - Save Extraction

Do the same with the service status, stopped or running:

Microsoft Operations Management Suite - Search Results - Save Extraction - Repeating

From now, every time that a service will be restarted, custom field will be applied automatically. Unfortunately, these custom fields do not apply on logs generated before the creation.

Microsoft Operations Management Suite - Log Search List

When it’s done, you can use your custom fields in the search:

Microsoft Operations Management Suite - Log Search List - Custom Field Search

And use them in a personal view:

Microsoft Operations Management Suite - Overview - Service Stopped-Started

This functionality is very interesting to class logs and has a quick overview, quick and automated without using PowerShell scripts or others that are heavy to deploy.

If you’ve any questions, feel free to contact me 🙂

 

Related materials:

Views All Time
4
Views Today
13
Return to all posts

Configure K2 SmartForms for AAD Authentication
Microsoft Introduces Azure’s Availability Zones, Increasing Service Availability

Please rate this

The following two tabs change content below.
Florent Appointaire
Florent Appointaire is Microsoft Engineer with 5 years of experience, specialized in Cloud Technologies (Public/Hybrid/Private). He is a freelance consultant in Belgium from the beginning of 2017. He is MVP Cloud and Datacentre Management. He is MCSE Private Cloud and Hyper-V certified. His favorite products are SCVMM, SCOM, Windows Azure pack/Azure Stack and Microsoft Azure.

Latest posts by Florent Appointaire (see all)

One Response to “Create Custom Fields in OMS”

  1. … [Trackback]

    […] Find More here|Find More|Read More Infos here|There you can find 36963 more Infos|Infos to that Topic: aclouda.com/blog/ms/create-custom-fields-in-oms/ […]

Leave a Reply

You must be logged in to post a comment.