Skip to content
A new version of FortiLogger is out.See what’s new

IP User Directory

Map IP and MAC addresses to usernames with the IP User Directory: manual entries, Device Detection, Active Directory and importing address lists from FortiGate.

You can perform IP-User and Mac-Username resolution in FortiLogger both on the View Logs page and on the Reports page by matching IP and Mac addresses and usernames with the IP User Directory. You can use 3 different methods together or individually for IP user directory resolution.

  1. Local Column: In this field, the user directory you have defined manually on the FortiLogger and the IP-Address list in the FortiGate configuration file will be displayed.
  2. Srcname: In this field, user/device names obtained with FortiGate Device Detection will be displayed.
  3. Unauthuser: This field will display the list of users obtained from FortiClient integrated with FortiGate.

You can set the priority of username resolution in the list view by drag and drop method. Apart from manual user identification on FortiLogger, the User Directory provided with Device Detection, Active Directory and FortiClient integration is automatically drawn. You can follow the steps below to define a manual entry in the directory or to import the IP-Address list from the FortiGate configuration file.

1 - Adding/Editing Records to the Directory Manually

On the Config > IP User Directory page, fill in the required fields in the Add / Edit User Directory section and press the Add Directory button to add a record with both an IP and a Mac address. The attached records will be displayed in the table on the right. You can make changes to the record by clicking the Edit or Delete button.

Add / Edit User Directory form with name, user type and IP/MAC address fields next to the LOCAL IP DIRECTORY list

Viewing Users in Logs and Reports After Adding Records

If you have added a user with an IP address, the user you have created will be displayed in the srcip field on the View Logs page.

View Logs page showing the directory user name instead of the IP address in the srcip column

On the Reports page, you can view the record added in the Source IP section.

Reports page Source IP tab showing the directory user name in the chart and the table

If you have added a user with a Mac address, the user you have created will be displayed in the srcmac field on the View Logs page. If you do not have srcmac attached, you can add the relevant column from the column add section as in the screenshot.

View Logs column picker with srcmac selected and the directory user name shown in the srcmac column

On the Reports page, you can view the record added in the Source MAC section.

Reports page Source MAC tab showing the user added by MAC address in the chart and the table

2 - Importing IP-Address List from FortiGate

To import the IP-Address list from the FortiGate configuration file, please first FortiGate API link do it. Then select the relevant device in the Import from FortiGate menu and click the Start Import button.

Import from FortiGate section with the device selector, the start import button and the address list import progress bar

Was this page helpful?