--- title: "Fortinet FortiMail log format and field mapping" slug: "fortinet-fortimail-log-format-and-field-mapping" tags: ["ESM", "Reference"] updated: 2026-10-27T15:50:12Z published: 2026-10-27T15:50:12Z canonical: "docs.trellix.com/fortinet-fortimail-log-format-and-field-mapping" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Fortinet FortiMail log format and field mapping **Log sample** Here are sample logs from a device. Statistics: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=Admin pri=Critical user=admin ui=192.0.2.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=syst ``` Config: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=config pri=information user=admin ui=203.0.113.0 module=unknown submodule=unknown msg="changed settings for 'log setting local'" ``` System: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=System pri=Warning user=admin ui=203.0.113.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=system submodule=interface msg=“DNS: Connection timed out. No servers could be reached.” ``` Update: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=Update pri=Warning user=admin ui=203.0.113.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=system submodule=interface msg=”Update result: virusdb: , avengine:, spamdb:, asengine: ``` SMTP: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=SMTP pri=Warning user=admin ui=203.0.113.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=system submodule=interface msg= “Starting flgrptd” ``` Admin: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=Admin pri=Critical user=admin ui=203.0.113.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=system submodule=interface msg=“User login successfully from {GUI() | console|SSH()|telnet()}” ``` HA: ``` date=2015-08-09 time=10:30:31 device_id=FE100C3909600504 log_id=0004001036 type=event subtype=ha pri=notice user=ha ui=ha action=none status=success msgs=“monitord: main loop starting, entering MASTER mode” ``` Webmail: ``` date=2015-08-09 time=12:42:48 device_id=FE100C3909600504 log_id=0000000920 type=event subtype=Webmail pri=Warning user=admin ui=203.0.113.0 module=unknown submodule=unknown user= ui={console| SSH()|telnet()} module=system submodule=interface msgs=“User from logged in.” ``` Antivirus: ``` date=2015-07-24 time=17:07:42 device_id=FE100C3909600504 log_id=0100000924 type=virus subtype=infected pri=information from="syntax@www.ca" to="user2@1.ca" src=203.0.113.0 session_id= "q6OL7fsQ018870-q6OL7fsR018870" msg="The file inline-16-69.dat is infected with EICAR_TEST_FILE." ``` Antispam: ``` date=2015-07-20 time=14:33:26 device_id=FE100C3909600504 log_id=0300000924 type=spam pri=information session_id="q6KIXPZe008097-q6KIXPZf008097" client_name="[203.0.113.0]" dst_ip="203.0.113.1" endpoint="" from="syntax@www.ca" to="user1@1.ca" subject="Email with wd, excel, and rtf test" msg="Detected by BannedWord test" ``` Encryption: ``` date=2015-08-09 time=10:45:27 device_id=FE100C3909600504 log_id=0400005355 type=encrypt pri=information session_id="q79EiV8S007017-q79EiV8T0070170001474" msg="User user1@1.ca read secure message, id:'q79EiV8S007017-q79EiV8T0070170001474', sent from: 'user2@2.ca', subject: 'ppt file'" ``` **Field mapping** This table shows the mapping between the data source and Trellix ESM fields. | Log fields | Trellix ESM fields | | --- | --- | | Date/Time | First Time, Last Time | | dst_ip | Destination IP | | Src | Source IP | | Pri | Severity | | client_name | Domain, Source IP | | session_id | Message_ID | | user | Source User, Destination User | | To | To | | from | From | | direction | Direction | | domain | Domain | | virus | Threat_Name | | subject | Subject | | log_id | External_EventID | | device_id | External_SessionID | | mailer | Application | | Dictionary | Category | | hash | File_Hash | | File | Filename | | clientname, host | Host | | interface | Interface | | group | Group_Name | | message | Message_Text, Rule Message | | Pid | PID | | daemon | Process_Name | | proto | Protocol | | reason | Reason | | System White List | Reputation_Server_IP | | Score | Spam_Score | | URL | URL | | alias | User_Nickname | :