How to set up Syslog in strict RFC5424 format

How to set up Syslog in strict RFC5424 format

89
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:04 PM


Objective


How to set up Syslog in strict RFC5424 format?

Environment


9.7;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8

Procedure


You will find an .xsl formatted Syslog Translator file attached.

This is named RFC5424.xsl, and has the necessary modifications to adhere to strict RFC5424 formatting.

An example of the new format is below. You will note that most of our fields fall into the {extradata} field, but this can then be parsed at the other end via Regex/Grok etc: 

<5>1 2019-03-19T19:26:25Z WIN2016-TEMPLATE - - - [CEF:0|Cyber-Ark|Vault|10.6.0000|7|Logon|5|act=Logon suser=PasswordManager fname= dvc= shost=xxx.xxx.xxx.xxx dhost= duser= externalId= app= reason= cs1Label="Affected User Name" cs1= cs2Label="Safe Name" cs2= cs3Label="Device Type" cs3= cs4Label="Database" cs4= cs5Label="Other info" cs5= cn1Label="Request Id" cn1= cn2Label="Ticket Id" cn2= msg=] -



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000riiCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail