Service Operations Insight

 View Only
  • 1.  How to use the Name variable in Event Policies

    Posted May 08, 2018 04:40 AM

    Hi All

     

    I'd like to know know how to assign the name variable in an event policy as shown below. 

     

     

    The end result should look like this: http://urlgoeshere/name=critsystem

     

    Thanks in advance. 

    Regards



  • 2.  Re: How to use the Name variable in Event Policies

    Posted May 08, 2018 07:18 AM

    Hi,

    which Name do you mean:  The Label of the CI that the Alert is assigned to?

    Unless the Alert has that name somewhere in the attributes already (or can be extracted from the text), you cannot assign that directly to the UserAttribute.

    At the time the Alert is processed, the only information the Connector has is the MDRElementID of the CI, and that can be a very cryptic key.

    Only on the SOI console, the information is finally merged from the CI and the Alert, to show the name of the CI.

     

    MichaelBoehm



  • 3.  Re: How to use the Name variable in Event Policies
    Best Answer

    Posted May 08, 2018 07:19 AM

    I figured it out. The right way is to use the fn:Parse function. See the example below. 

     

    http://urlgoeshere/name=fn:Parse(${pattern1.Message},'.*name - (\S+.*?)\,.*$') 

    This solution is assuming the alert name is included in the Message. Apologies for wording my original question poorly. See the below screenshot below.