For When You Can't Have The Real Thing
[ start | index | login ]
start > FortiOS > 6.0 > Displaying Logs From Console

Displaying Logs From Console

Created by dave. Last edited by dave, 2 years and 241 days ago. Viewed 782 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2021-07-20)

Problem

Display logs from a console session.

Solution

Select log source:

# execute log filter device

Optional: select log category:

# execute log filter category

Display:

# execute log display

Some examples from the source:

# execute log filter category 3       
# execute log filter field dstip 40.85.78.63
# execute log display

# execute log filter free-style "(date 2019-09-13 not) and (dstip 40.85.78.63)"
# execute log filter free-style "srcip 172.16.1.1"
# execute log filter free-style "(srcip 172.16.1.1) or (dstip 172.16.1.2)"
# execute log filter free-style "(srcip 172.16.1.1) and (dstip 172.16.1.2)"
# execute log filter free-style "((srcip 172.16.1.1) or (dstip 172.16.1.2)) and (dstport 80 443 50-60)"

(>>Source)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt