Topics Discussed
Table of Contents | ||||
---|---|---|---|---|
|
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
You can use this document to send Juniper logs to Armor's Security Information & Event Management (SIEM).
This document only applies to:
SRX100, SRX110, SRX210, SRX220, SRX240, SRX550, SRX650, vSRX
Juniper SRX (JUNOS 15.X)
Juniper SRX (JUNOS 17.X)
Juniper SRX (JUNOS 18.X)
Juniper SRX (JUNOS 19.X)
Pre-Deployment Considerations
...
To create a remote Log Relay, you must already have:
A Log Relay server on your account
To learn how to add Log Relay to your account, see Obtain Log Relay for Remote Log Collection
Configured the system clock
Update Your Juniper Device
...
Log into the Juniper SRX device.
Access the privileged EXEC mode:
Code Block language bash
...
user@hostname> configure
Configure logging to a designated Armor Log Relay:
Code Block language bash
...
...
[edit] user@hostname(config)# set system syslog host <ipaddress1> <facility> <severity> user@hostname(config)# set system syslog host <ipaddress1> port <port> user@hostname(config)# set system syslog host <ipaddress1> source-address <ipaddress2> user@hostname(config)# set system syslog host <ipaddress1> structured-data
Note - In <ipaddress1>, enter the IP address of the designated Armor Log Relay instance.
- To locate your IP address in AMP, in the left-side navigation, click Infrastructure, click Virtual Machines, and then review the Primary IP column for the corresponding virtual machine.
- In <ipaddress2>, enter the source IP address on the SRX from where syslog messages will be sent.
- In <facility>, to filter the type of logs sent to Armor, enter the corresponding facility number, such as 0 for kernel or 4 for authorization.
- To learn about Juniper's facility numbering system, please review Juniper's documentation.
- In <severity>, to filter the type of logs sent to Armor, enter the corresponding severity level from 0 to 7.
- To send all log types, enter 7.
To learn about Juniper's severity levels, please review Juniper's documentation.
Note If your SRX device is licensed to use the Unified Threat Management (UTM) security feature set, then Armor recommends that you configure the severity setting to capture all relevant UTM log messages, such as web filtering, content filtering, antispam, antivirus, etc. This action may cause non-UTM log messages not to be forward to AMP. Any unwanted log messages can be filtered using the MATCH command, along with the required regular expression syntax. To learn how to filter messages, please review Juniper's documentation.
- In <port>, enter 10150 for UDP.
- TCP is not supported.
- In <ipaddress1>, enter the IP address of the designated Armor Log Relay instance.
Save the changes:
Code Block language bash
...
[edit} user@hostname# commit
Review the logging configuration:
Code Block language bash
...
user@hostname# show system syslog
Info | |||||||
---|---|---|---|---|---|---|---|
TroubleshootingVerify that logs are formatted correctly, similar to the following example:
|
Additional Documentation
Review the following documentation from Juniper:
...
Topics Discussed
...
SRX Getting Started - Configure Traffic Logging (Security Policy Logs) for SRX Branch Devices
Junos OS System Logging Facilities and Message Severity Levels
...