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.

Add Stylesheet

Click on the 'Add stylesheet' button to create a new Stylesheet for use with selected Message Types.
Add Stylesheet

  • A Name is required to create the Stylesheet.
  • Adding a Description is optional.

Empty stylesheet
Enter mandatory name and optional description for your Stylesheet

You must then select the type of stylesheet, there are currently two formats supported

    1. XSLT
    1. Liquid

Type
Select the type of Stylesheet to use

1. XSLT

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.

2. Liquid

If the message body is JSON you can use Liquid instead of an XSLT in order to produce your output.

Associate with Message Types

Click on the Edit button to open a new dialogue to enter one or more Message Types.

Message Types Manage Message Types

Associate stylesheet Associate Stylesheet with one or more Message Types

Preview Setup

Click on the Preview Setup button in order to select content: Preview setup

There are 3 different options available:

    1. Raw
    1. File
    1. Message Id

Input options

1. Raw

Insert message data to use for the preview.

Preview Raw

2. File

Select a File through browsing or drag and drop it within the field.

Preview File

3. Message Id

Select a Log Database, an Event Id and Message Data.

Preview Event Id

Preview

Click on the Preview button to view the resulting output based on selected input and the Stylesheet.


Next Step

Message Types