Description | This article describes that by default, FortiGate does not log the SLA health check and how to configure the SLA logging. |
Scope | FortiGate, FortiAIOps v7. |
Solution |
Here is the config example:
config sys sdwan config health-check edit <Performance SLA Name> set sla-fail-log-period <x> set sla-pass-log-period <y> end end
For example:
config sys sdwan (sdwan) # config health-check (health-check) # edit SLA (SLA) # set sla-fail-log-period 30 (SLA) # set sla-pass-log-period 30 (SLA) # end
Once configured, FortiGate will store the SLA information at the frequency defined in the configuration.
FortiGate will keep the logs for 10 minutes. For longer retention, we should have an external storage like FortiAnalyzer.
View the stored SLA logs via CLI:
dia sys sdwan sla-log <name> <seq-num>
To display the SLA logs per interface, use the below command:
diag sys sdwan intf-sla-log <name>
Here is an example:
dia sys sdwan sla-log SLA 1 |