0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

FortigateのログをCLIにてエクスポートする

Posted at

この記事について

FortigateのログをGUIではなく、CLIにてエクスポートする必要があったので調べてみました。しかし、この方法に関するニーズがあまり多くないのか、情報があまり見つからなかったです。そのため、備忘録として残しておきます。

これやる前に

この方法では、tftpを使用しますので、あらかじめtftpdなどの環境を用意しておきましょう。

コマンド

  • execute backup memory alllogs tftp [ip address]
# execute backup memory alllog tftp 192.168.0.100
Connect to tftp server 192.168.0.100 ...
Please wait...
#
Sent log file _tlog.mlog to tftp server as mem_tlog_FGT50Exxxxxxxxxx_root_20231001_164726_mlog OK.
Connect to tftp server 192.168.0.100 ...
Please wait...
#
Sent log file _elog.mlog to tftp server as mem_elog_FGT50Exxxxxxxxxx_root_20231001_164728_mlog OK.
:
<snip>
:
olog memory log is empty.
hlog memory log is empty.

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?