Description

How do we collect statistics about top sessions?


Solution

1. J-web top talkers: J-web/monitors/reports/top talkers.


Top talkers need enable traffic log and report.


#set security log mode stream

#set security log report

#set security policies from-zone untrust to-zone junos-host policy 1 match source-address any

#set security policies from-zone untrust to-zone junos-host policy 1 match destination-address any

#set security policies from-zone untrust to-zone junos-host policy 1 match application any

#set security policies from-zone untrust to-zone junos-host policy 1 then permit

#set security policies from-zone untrust to-zone junos-host policy 1 then log session-init

#set security policies from-zone untrust to-zone junos-host policy 1 then log session-close



2. Export the sample to an external traffic analysis server using J-flow.



3. Download SRX session analyzer from github.

https://github.com/xmin0s/SRX-Session-Analyzer

Modification History

2024-12-06 : Article Created