How do I enable Global Logging on a Juniper SRX ?

Below details the nessecary commands required to enable global logging on all security policies.

set groups global-logging security policies from-zone <*> to-zone <*> policy <*> then log session-init
set security policies apply-groups global-logging

Rick Donato

Want to become an IT Security expert?

Here is our hand-picked selection of the best courses you can find online:
Internet Security Deep Dive course
Complete Cyber Security Course – Hackers Exposed
CompTIA Security+ (SY0-601) Certification Complete course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial