Skip to main content
Samehatef
New Member
Sep 27, 2018 10:37 AM UTC
Question

Custom Data set and Chart for FortiMail

Hello

 

Can anyone assist or provide a custom data set and chart for fortimail to provide a custom report containing fields like source ip, destination ip, source mail, destination mail, subject mail, action ..... etc for all users ?

    2 replies

    brazz_FTNT
    Staff
    Staff
    Sep 28, 2018 4:20 PM UTC

    Hello , 

     

    Let's try below dataset:

     

     

    SELECT `src` AS Source_IP, `dst_ip` AS Destination_IP, `from` AS Source_Mail, `to` AS Destination_IP, `subject` AS Subject_Mail, `disposition` AS Action_Taken, `client_name` AS Users

    FROM $log

    WHERE $filter

     

     

    Unfortunately, I do not have any FortiMail logs available to verify my dataset 

    Please check and let me know if it works. 

     

    Also I would suggest to review these :

    +[link=https://docs.fortinet.com/uploaded/files/2755/fortimail-log-message-reference-600.pdf]FortiMail® Log Message Reference[/link] +FortiMail Administration Guide

     

     

     

    Cheers

    Translate
    abelio
    SuperUser
    SuperUser
    Oct 8, 2018 9:58 PM UTC

    Hello Brazz,

    Just modifying  SELECT `src`  AS SOURCE_IP,...   with SELECT `client_name`  AS SOURCE_IP  .... taken over History logs and we'll haver a nice dataset to start with.

     

    thanks

     

     

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024