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

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001