--- title: "Microsoft IIS - SMTP log format and field mapping" slug: "microsoft-iis-smtp-log-format-and-field-mapping" tags: ["ESM", "Reference"] updated: 2026-10-27T15:50:49Z published: 2026-10-27T15:50:49Z canonical: "docs.trellix.com/microsoft-iis-smtp-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. # Microsoft IIS - SMTP log format and field mapping **Log format** This is a log format from a device: ``` #Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer) ``` **Log sample** This is a sample log from a device: ``` 2021-03-09 05:34:12 10.10.10.10 - SMTPSVC1 SMTP01 10.10.10.10 0 HELO - + 250 0 55 5 0 SMTP - - - - ``` **Field mapping** This table shows the mapping between the data source and Trellix ESM fields. | WC3 Log fields | Trellix ESM fields | | --- | --- | | Date Time (two fields) | FirstTime,LastTime | | s-ip | Destination IP | | cs-method | Command | | cs-uri-stem | URL | | s-port | Destination Port | | cs-username (domain section) | Domain | | cs-username | Source User | | c-ip | Source IP | | cs(User-Agent) | User_Agent | | cs-host | Hostname | | sc-status | sid, message | | sc-status(first number) | Action | :