Add or manage Stylesheet
Transform your logged message into a user friendly format
A [Stylesheet] is associated with one or more Message Types in order to render user friendly looking for logged messages (Log Events) and alert notifications like an e-mail sent out by the Alarm Plugins.
Click on the 'Add stylesheet' button to create a new Stylesheet for use with selected Message Types.
- A Name is required to create the Stylesheet.
- Adding a Description is optional.
Enter mandatory name and optional description for your Stylesheet
You must then select the type of stylesheet, there are currently two formats supported
XSLT stands for EXtensible Stylesheet Language Transformations, and is a style sheet language for XML documents.
Use XSLT to format XML messages into other XML format or HTML.
If the message body is JSON you can use Liquid instead of an XSLT in order to produce your output.
Click on the Edit button to open a new dialogue to enter one or more Message Types.
Manage Message Types
Click on the Preview Setup button in order to select content:
There are 3 different options available:
- Message Id
Insert message data to use for the preview.
Select a File through browsing or drag and drop it within the field.
Select a Log Database, an Event Id and Message Data.
Click on the Preview button to view the resulting output based on selected input and the Stylesheet.