Understanding audit logs
Audit logs are WELF-compatible UTF-8 text files. The WELF format is a sequence of items, written as field=value and separated by spaces. Values may be framed by double quotes.
A single log corresponds to a line ending with a return carriage (CRLF).
Example
id=firewall time="2019-01-27 13:24:28" fw="V50XXA0G0000002" tz=+0000 startime="2011-01-27 13:24:28" pri=4 srcif="Ethernet0" srcifname="out" ipproto=tcp proto=ssh src=192.168.0.1 srcport=54937 srcportname=ephemeral_fw dst=192.168.1.1 dstport=22 dstportname=ssh dstname=Firewall_out action=pass msg="Interactive connection detected" class=protocol classification=0 alarmid=85
Log fields are classified in alphabetical order in the following sections. Their descriptions are presented in this format:
Field name |
Description of the field Example. SNS version number in which the field appeared. |
Name of the field in the administration interface, if different from the name that appears in log files. |
The logs “l_server”, “l_auth”, “l_vpn” and “l_system” contain fields that are specific to Stormshield Network firewalls. These special fields, which are not in WELF format, are described in the section Specific fields.
Some log files, such as l_filterstat, l_routerstat and l_count, which are used for the calculation of statistics, contain a very large number of specific fields.
They are therefore similar to snapshots of the state of the firewall. They are calculated and written at regular intervals.

When the time on the firewall is changed, a specific line will be written in all the logs.
This line contains the fields datechange and duration. The datechange value in this case will be “1” to reflect the time change. As for the duration field, it will indicate the difference (in seconds) between the time on the firewall before and after this change.
The other fields of this log are common to all logs (described in the following section).
Example
id=firewall time="2019-01-01 01:00:00" fw="U800SXXXXXXXXXX" tz=+0100 startime="2019-01-01 01:00:17" datechange=1 duration=-18
In the Audit logs module in the web administration interface, this log will appear in all modules highlighted in yellow.