Troubleshooting
Problem
I properly modify the alert-config.xml template, but after an offense fires the resulting email has an incorrect alignment.
Cause
Editing the alert-config.xml file on a Windows desktop using notepad, wordpad, or word can cause errors in formatting. Editing this file in notepad will convert the tab characters in the template to space characters.
Diagnosing The Problem
If you look at the resulting email that was sent you see the column alignment is wrong.
Improper column alignment:
Username: root
Event TimeStamp: Jan 31, 2017
Event Name: A user executed a
Category: SIM User Action
Log Source Name: SIM Audit-2::c
Computer: N/A
EventID: N/A
Message: N/A
Subject: N/A
Email should look like:
Username: root
Event TimeStamp: Jan 31, 2017
Event Name: A user executed a Category:SIM User Action
Log Source Name: SIM Audit-2::c
Computer: N/A
EventID: N/A
Message: N/A
Subject: N/A
Resolving The Problem
To resolve the issue edit the alert-config.xml file using an editor such as vi on the system to preserve the template formatting and ensure that the formatting is correct.
For more information on how to edit the alert-config.xml file please refer to this Knowledge Center article. Configuring custom email notifications
Where do you find more information?
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22002493