Vice Admiral
Vice Admiral
697 views

Sitescope Alert Template (CEF): extract "content match" from <<state>>

Jump to solution

Hello experts

 

Is there a way to extract "content match" of web service monitor to fill in a event field (common event format)?
In <<state>> property is always the round trip time, which is different from every run.

 

Use case:
We are using a "Web Service Monitor" to check whether an email is the in inbox of a specific user (exchange web service).
Using the content match we extract the last mail-id. Now in the alert we would like to use the content match value in a key-field for the bsm event.
The problem is that only <<state>> property can be used in common event format and this contains always a roundtrip time.
Using <<all>> property we can see that the content match is saved to a variable but we can not assign it in a event.

 

Please help!

 

Thank you very much in advance!

 

Kind regards,
Thomas

Labels (3)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Did you try to use <<matchValue>> ?

View solution in original post

2 Replies
Micro Focus Expert
Micro Focus Expert

Did you try to use <<matchValue>> ?

View solution in original post

Vice Admiral
Vice Admiral

perfect!<<matchValue>> does the job!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.