Fortinet black logo

CLI Reference

log-fetch

log-fetch

Use the following commands to fetch logs.

log-fetch client

Use these commands to manage client sessions.

Syntax

execute log-fetch client cancel <profile name>

execute log-fetch client list <profile name>

execute log-fetch client pause <profile name>

execute log-fetch client resume <profile name>

execute log-fetch client run <profile name>

execute log-fetch client view <profile name>

Variable

Description

cancel <profile name>

Cancel one session.

list <profile name>

List all sessions.

pause <profile name>

Pause one session.

resume <profile name>

Resume one session.

run <profile name>

Start a new session.

view <profile name>

View the session status.

log-fetch server

Use this command to manager the log fetching server.

Syntax

execute log-fetch server approve <session id>

execute log-fetch server cancel <session id>

execute log-fetch server deny <session id>

execute log-fetch server list

execute log-fetch server pause <session id>

execute log-fetch server resume <session id>

execute log-fetch server view <session id>

Variable

Description

approve <session id>

Approve a session.

cancel <session id>

Pause and clear one session or all sessions.

deny <session id>

Deny a session.

list

List all sessions.

pause <session id>

Pause a session.

resume <session id>

Resume a session.

view <session id>

View the session.

log-fetch

log-fetch

Use the following commands to fetch logs.

log-fetch client

Use these commands to manage client sessions.

Syntax

execute log-fetch client cancel <profile name>

execute log-fetch client list <profile name>

execute log-fetch client pause <profile name>

execute log-fetch client resume <profile name>

execute log-fetch client run <profile name>

execute log-fetch client view <profile name>

Variable

Description

cancel <profile name>

Cancel one session.

list <profile name>

List all sessions.

pause <profile name>

Pause one session.

resume <profile name>

Resume one session.

run <profile name>

Start a new session.

view <profile name>

View the session status.

log-fetch server

Use this command to manager the log fetching server.

Syntax

execute log-fetch server approve <session id>

execute log-fetch server cancel <session id>

execute log-fetch server deny <session id>

execute log-fetch server list

execute log-fetch server pause <session id>

execute log-fetch server resume <session id>

execute log-fetch server view <session id>

Variable

Description

approve <session id>

Approve a session.

cancel <session id>

Pause and clear one session or all sessions.

deny <session id>

Deny a session.

list

List all sessions.

pause <session id>

Pause a session.

resume <session id>

Resume a session.

view <session id>

View the session.