Displaying Logs From Console
(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)