- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2018 01:12 AM
Hi everyone
I'm using event management (Kingston) where I've created an event rule to transform and compose data received through the API into an alert.
I want the information in the description of the alert to be meaningful/helpful and laid out in a clear way.
So I've used the transform and compose tab to put several attributes into the description field of the alert. Meaningful.... tick.
The bit that I'm stuck on is how I but some basic structure in the description field such as line feeds or carriage returns so that those different attributes don't appear to the user as one big mass of words wrapped together? The info isn't helpful to the user if they can't read it.
Many thanks
Solved! Go to Solution.
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 03:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2018 05:12 AM
Rich - I'm not certain about Kingston, but in Jakarta I could not get it to add carriage returns. What you might try doing is adding in a '\n' (that is: backslash n) to see if that picks up. Again, it didn't work in Jakarta, but it may have changed in Kingston.
Example:
"Notes: Testing with carriage returns.\nType: threat\nUser ID:JohnDow"
might become:
--------------------------------------------
Notes: Testing with event_class field.
Type: threat
User ID:JohnDow
--------------------------------------------
We've moved to London now (direct from Jakarta), and the Description field is now multi-line so the CRs seem to work fine.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018 08:33 AM
Thanks Steve.
I tried something similar, but I'll try it with the example you gave.
Another post suggested using:
Variable1 + '/n' + Variable2
...however it just showed the + '/n' + part exactly as entered...
I'll give it a go without the quotes and the plus signs. Thanks.
The other thing I was considering was whether somehow I could put the line feed into a variable as a mechanism to get it to work as a line feed. Not sure how exactly I'll try it yet, and it feels unnecessarily hacky... but it might result in the data mapping to the description field as follows:
Variable1 LineFeedVariable Variable2
In order to get the output looking like:
Variable1
Variable2
Thought it could be worth a try... though surprised there's not a better way of doing this via the gui.
(Wrote reply with the dollas and brackets originally but it didn't show properly in the post!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018 10:02 AM
Yeah, I think they caught onto that since it is a multi-line field in London.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 03:35 PM