XSL templates

The appropriate XSLs are stored in the following directory:


<Discover_Install_directory>\Portal

In the table below, the AlertService files apply to event alerts or Canister status alerts.

Note: If you rename any of the following files, the Alert Service generates a new one with the default settings the next time it is started.
Note: If you rename the files, you may use this method to check for updates to these files when you upgrade. After the Alert Service runs again, you can use a text editor to check for differences between the renamed version and the newly generated version to see if there are changes or more formatting features that were introduced in the upgrade.
File name
Description
AlertServiceText.xsl
XSL file for formatting text-based alerts
Note: The Subject line for HTML alerts must be in text format. The formatting of them is managed through the AlertServiceText.xsl file.
AlertServiceHTML.xsl
XSL file for formatting HTML-based alerts
AlertServiceSMS.xsl
XSL file for formatting SMS email alerts
AlertServiceSNMP.xsl
XSL file for formatting SNMP alerts
AlertServiceAnomalyDetectionsHTML.xsl
XSL file for formatting HTML-based Anomaly Detections alerts
AlertServiceReportsHTML.xsl
XSL for formatting HTML-based Anomaly Detections Reports alerts
AlertServiceAppLog.xsl
Formatting for the alert service log messages
  • Log is written to <Discover_install_directory>\Logs\Alerts_YYYYMMDD.log.
AlertShellCmd.xsl
XSL file for formatting alerts that are generated through a custom external application. See External command shell invocation.

Documentation, including variable descriptions, is included as comments in each file. A default formatting is also provided to serve as an example for user customization.

Note: Some target devices may be fixed limits to the amount of text that can be displayed. For example, a cell phone may be able to display only 50 characters with no distinction between the message header and body. For each type of alert, you should review a generated text alert on the likely targets.