Sumo Logic Integration
Sumo is a third-party log management and analytics service, transforming your data into sources of operations, security, and compliance intelligence. The Barracuda CloudGen Firewall app provides a dashboard to monitor actions, IP addresses, and rule and application usage. Data is imported into Sumo via syslog streaming of the Firewall logs.
Before You Begin
Configure a cloud syslog source in your Sumo account. For the Source Category, it is recommended to use a self-explanatory name like 'CGFW'.
For information and help, see also https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/Cloud-Syslog-Source.Run and configure syslog-ng on a host within your network.
For information and help, see also https://help.sumologic.com/03Send-Data/Sources/02Sources-for-Hosted-Collectors/Cloud-Syslog-Source#Send_data_to_cloud_syslog_source_with_syslog-ng.
Configure Syslog Streaming on a Barracuda CloudGen Firewall
Configure and enable syslog streaming for every Barracuda CloudGen Firewall you want to include in the Sumo app.
Step 1.1. Enable Syslog Streaming
Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Syslog Streaming.
Click Lock.
Set Enable the Syslog service to yes.
Click Send Changes and Activate.
Step 1.2. Configure Logdata Filters
Define profiles specifying the log file types to be transferred / streamed.
Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Syslog Streaming.
In the left menu, select Logdata Filters.
Click Lock.
Click + to add a new filter.
Enter an expressive Name that refers to Sumo, e.g., SumoFilter.
Click OK.
The Filters window opens.
Click + in the Data Selection table and select Firewall_Audit_Log.
Fatal_log and Panic_log data can also be streamed to the Sumo server but are currently not processed by the Barracuda CloudGen Firewall Sumo app.
In the Affected Box Logdata section, select All from the Data Selector drop-down menu.
In the Affected Service Logdata section, select All from the Data Selector list.
Click OK.
Click Send Changes and Activate.
Step 1.3. Configure the Logstream Destinations
Configure the data transfer settings for the Sumo server. You can optionally choose to send all syslog data via an SSL-encrypted connection.
Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Syslog Streaming.
In the left menu, select Logstream Destinations.
Click Lock.
Click + in the Destinations table.
The Destinations window opens.
For Name, enter an expressive name that refers to Sumo, e.g., Sumo.
Click OK.
The window for configuring the specific destination to Sumo is displayed.
Configure the syslog-ng server logstream destination:
Logstream Destination – Select explicit-IP.
Destination – Enter the IP address of the syslog-ng server that will be forwarding logs to Sumo.
Destination Port – Enter 5140 for plaintext of 5141 for SSL-encrypted connections.
Transmission Mode – Select TCP or UDP (only for unencrypted connections).
(optional) Explicit Source IP – Enter the management IP address of the Barracuda CloudGen Firewall, or leave blank for the CloudGen Firewall to do a routing lookup to determine the sender IP address.
(optional) Use SSL Encapsulation – Select yes to send the syslog stream over an SSL-encrypted connection.
(optional) Peer SSL Certificate – Import the SSL certificate configured on the syslog-ng server for this stream.
Override Node Name – Select no.
Click OK.
Click Send Changes and Activate.
Step 1.4. Configure Logdata Streams
Create a logdata stream configuration combining the previously configured Log Destinations and Log Filters.
Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Syslog Streaming.
In the left menu, select Logdata Streams.
Click Lock.
Click + in the Streams table.
Enter a Name and click OK.
The Streams window opens.
In the Log Destinations table, click + and select the Log Destination created in Step 1.3, e.g., Sumo.
In the Log Filters table, click + and select the Log Filter created in Step 1.2, e.g., SumoFilter.
Click OK.
Click Send Changes and Activate.
Step 1.5 Configure WebLog Streaming (optional)
As a first step, you must activate web log streaming:
Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Syslog Streaming.
In the left menu, select Logdata Streams.
Click Lock.
Enable Web Log Streaming – Select yes.
As the second step, you must configure the web log syslog streaming:
Streaming Protocol – Select TCP or UDP (only for unencrypted connections).
Destination IP Address – Enter the IP address of the syslog-ng server that will be forwarding logs to Sumo.
Destination Port – Enter 5140 for plaintext or 5141 for SSL-encrypted connections.
SSL ... (optional) – Configure the key and certificates to send logs to this server.