- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Once you have Health Log Analytics running and detecting anomalies on your own ServiceNow platform. (See here for details on how to set it up: Advanced Tagging for Syslog Anomalies w. HLA). The next thing you need to do is sort through the anomalies and start building that ML feedback to tune it to your platform specifically.
Advanced Tagging (LINK) enables you to find and consume the alerts you care most about. But you can take it a step further to speed up time to detect the root cause by using those tags, and pull in more information and quick links into the Alert.
Effectively enabling you to find the relevant/pertinent alerts, related records that caused the alerts and take action. The easiest action in this workflow is to provide the ML feedback to HLA to continue to tune and optimize the anomalies detected.
HERE IS HOW TO CONNECT YOUR ALERT TO RELEVANT SOURCE RECORDS:
STEP 1: Make sure you have advanced tagging working, and have the relevant tags. In this use case I am going to setup to quick actions based on these tags: _user, table_name, record_sys_id
I’ve attached exports of the flow and action records to this community post, so you can optionally import them vs. build via the instructions in STEP 2
STEP 2: we can create flow and an action to take advantage of the data we care about here.
*NOTE: In this example I am using a community addition: Flow Designer Record Link Generator
- Create a Flow:
Name: HLA Advanced Tagging Response
Trigger: Created or Updated
Table: Alert
Condition:
Source is Log Analytics
Configuration item is ServiceNow Glide Sys Log**
**Make sure you use the Service CI that matches your syslog implementation
Run Trigger: Once
- Create a New Action. We need an action to parse the JSON payload with the tags, to use them as variables.
Name: HLA Advanced Json Parsing
Action Input: Reference.Alert (name/label = Alert)
- Add Step > JSON Parser Step.
Source Data: Drag the data pill from your Alert Input record. Alert.Additional_information
If you have a sample alert handy, you can copy paste the alert structure in the payload to generate the target outputs.
- Create 3 outputs (for my use case I only need 3, for the tags I need to act on)
- Map the tags from the JSON parser step to the outputs in the action
- Let’s add this action to the Flow we created, and take action on it.
- What I did here was run a lookup on the User tag and run a look up on the table + record that triggered the anomaly alert.
Then I am adding a simple work note with a hyper link to those records if I find a match. **This flow is using the Flow Designer Record Link Generator from Developer Portal
END RESULTS:
We now have hyperlinks added via work notes, that gives you single click access to the user or the record that caused the anomaly. Giving you the ability to drill in and make decisions quickly
The use cases are endless, to leverage these new tags and build out automation in Flow designer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.