srx-syslog-logging

Configure and troubleshoot Juniper SRX syslog and security log delivery to external collectors.

9|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/fastrevmd-lab/fwskillsshare --skill srx-syslog-logging-fastrevmd-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: srx-syslog-logging
Source: https://github.com/fastrevmd-lab/fwskillsshare/tree/main/skills/srx-syslog-logging
Command: npx skills add https://github.com/fastrevmd-lab/fwskillsshare --skill srx-syslog-logging-fastrevmd-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? SRX logging fails in confusing ways because system syslog and security logs are produced by two independent subsystems (Routing Engine vs PFE) over different data paths, so logs silently never arrive at the collector. This Skill guides configuration and diagnosis of Juniper SRX/vSRX logging to an external collector or SIEM, covering fxp0 vs revenue-interface sourcing, mgmt_junos routing instances, stream/event modes, and the non-default-port trap. ## Core Features & Use Cases - Structured diagnosis workflow: A four-step outward-from-the-device method (generation, wire capture, subsystem comparison, second-host isolation test) plus a catalog of tested red herrings to avoid dead ends. - Mode- and transport-aware configuration: Working Junos configuration for system syslog, stream-mode security logs, UDP/TCP/TLS transports, and Security Director Cloud onboarding, with version-gated verification commands. - Use Case: A vSRX delivers security logs but zero system syslog events. The Skill walks you through confirming emission, isolating the variable with a second host entry, and identifying that a non-default syslog port is silently dropped on revenue-interface egress. ## Quick Start Use the srx-syslog-logging skill to diagnose why my SRX system syslog events are not reaching the SIEM collector.

Frequently Asked Questions about srx-syslog-logging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure SRX syslog to an external collector?

Configure system syslog with set system syslog host <collector> any info plus structured-data, and set a real hostname for attribution. For security logs, use set security log mode stream with a stream definition naming the collector host, port, format, and category.

Why is my SRX syslog not arriving at the collector?

Work outward from the device: confirm events are generated locally, capture packets near the device, compare RE versus PFE subsystems, then isolate with a second host entry on default settings. A common cause is a non-default syslog port being silently dropped on revenue-interface egress.

Can SRX security logs use the fxp0 management interface?

No. Stream-mode security logs are generated by the PFE, and fxp0 is not part of the PFE, so Junos rejects fxp0 as a security log source-interface regardless of mode. Security Director Cloud also requires a revenue interface for security logging.

What is the difference between SRX security log mode event and stream?

Mode event processes security logs in the Routing Engine control plane, so delivery follows the system syslog path. Mode stream processes logs directly in the PFE forwarding plane and requires a revenue interface source, which is the typical posture for SIEM delivery.

Does show security log transport work on all Junos versions?

No. The command exists only from Junos 25.4R1 onward; earlier releases return a syntax error. Even on supported releases it may return empty output in stream mode, so use show security log statistics to confirm generation and verify delivery on the wire.