Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to turn on IDP logging on SRX platforms running Junos



Article ID: KB17291 KB Last Updated: 30 Sep 2020Version: 6.0

This article provides information on how to configure IDP logs on SRX series devices.

  1. To turn on logging, first turn on notification to log attacks:
    # set security idp idp-policy recommended rulebase-ips rule 1 then notification log-attacks
  2. Set a file to log them under System Syslog:
    [edit security]
    root@LifeSaver# show
    syslog {
        file IDP_Log {
            any any;
            match RT_IDP;
  3. You can now view the signatures that are being triggered by typing the following command:
    > show log IDP_Log
  4. If you are not receiving as many messages as required, you can disable log suppression:

    Note: This is not recommended for a prolonged time, as it will cause a lot of logs to be created over a short time; depending on traffic and attacks.
    # set security idp sensor-configuration log suppression disable
Modification History:
2020-09-30: Minor, non-technical edits.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search