Created on 07-31-2023 11:00 PM Edited on 11-05-2024 02:34 AM By Jean-Philippe_P
Description
This article describes how to enable the audit log via CLI.
This allows the logging of the CLI commands that were run in CLI by a specific admin user.
Scope
FortiGate 7.0.2+.
Solution
Below are the steps to enable the audit log on the CLI:
config system global
set cli-audit-log enable
end
To test if the audit logs are working, try a few commands:
show log fortianalyzer setting
config log fortianalyzer setting
end
Related article:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.