Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
  • Services
  • Securing HTTP/HTTPS Traffic
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
    • Logs Overview
    • Exporting Logs
      • How to Export Logs from the Barracuda Web Application Firewall
        • Adding Export Log Servers
        • Log Formats
        • Exporting Log Formats
        • How to Mask Sensitive Data in Logs
      • Integrations
    • Reporting
    • Simple Network Management Protocol (SNMP)
    • Events and Notifications
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Export Logs from the Barracuda Web Application Firewall
    Updated Aug 29, 2023

    How to Export Logs from the Barracuda Web Application Firewall

    Aug 29, 2023
    Subscribe

    If the instance is deployed in the Azure Security Center, the Barracuda Web Application Firewall adds an Azure Event Hub server with the preset custom log format for “Web Firewall Logs Format”. If a Microsoft Azure Log Analytics server is added, some of the objects of the Web Firewall logs that are sent to the Log Analytics server will have incorrect values. Therefore, it is recommended not to use the Microsoft Azure Log Analytics server as an “Export Log” server when the instance is deployed in the Azure Security Center.

    To add export log servers, navigate to the ADVANCED > Export Logs page, Export Logs section. You can configure a maximum of five (5) export log servers (i.e., Syslog NG, AMQP, AMQPS, and/or Azure Event Hub). All the logs (that is, system logs, web firewall logs, access logs, audit logs, and network firewall logs) are sent to the configured export log servers. See Steps To Add an Export Log Server .

    If you are running syslog on a UNIX machine, be sure to start the syslog daemon process with the “-r” option so it can receive messages from external sources. Windows users require additional software to utilize syslog since the Windows OS does not include the syslog capability. Kiwi Syslog is a popular solution, but there are many others to choose from, both free and commercial.

    Log messages are sent over UDP/TCP/SSL ports. If there are any firewalls between the Barracuda Web Application Firewall and the configured export log servers, ensure that the respective port is open on the firewalls.

    Syslog Facility

    Syslog receives different types of log messages. In order to differentiate and store them in distinct log files, log messages contain a logging priority and a logging facility in addition to the actual message and IP address.

    All log messages are marked with one of the following facilities:

    • local0

    • local1

    • |ocal2

    • local3

    • local4

    • local5

    • local6

    • local7

    For each configured syslog server, you can associate a specific facility (default = local0) with each log type, so your syslog server can segregate the log of each type into a different file. 

    Configure Facilities for Different Log Types
    1. Navigate to the ADVANCED > Export Logs page.

    2. In the Export Logs section, click Export Log Settings. The Export Log Settings window opens.

    3. In the Syslog Settings section, select the appropriate facility (Local0 to Local7) from the drop-down list for each log type and click Save.

    You can set the same facility for all log types. For example, you can set Local0 for System Logs, Web Firewall Logs, Access Logs, Audit Logs and Network Firewall Logs.

    In the Export Log Settings window, you can do the following:

    • Enable or disable the logs that needs to be exported to the configured export log server(s) in the Export Log Settings section.

    • Set the severity level to export web firewall logs and system logs to the configured export log server(s) in the Export Log Filters section. The Barracuda Web Application Firewall exports the logs based on the selected severity level. For example, if Web Firewall Log Severity is set to 2-Critical, then logs with 0-2 (i.e., 0-Emergency, 1-Alert and 2-Critical) are sent to the external log server.

    Configure Log Levels for Different Modules
    1. Navigate to the ADVANCED > Export Logs page.

    2. In the Module Log Levels section, specify values for the following fields:

      • Name – Enter a name for the new setting.

      • Module – Select a module name from the drop-down list.

      • Log Level – Select a log level for the module from the drop-down list. By default, the log level is set to 0-Emergency. Note that the lower the level, the higher the priority and the more attention the log entry demands. For example, log levels 0-Emergency and 1-Alert are the highest priority situations, demanding more immediate response than 5-Notice or 6-Information.

      • Comment – (Optional). Enter comment about the new setting.

    3. Click Add to add the above settings.

    Module Log Level is an advanced feature, and available only when Advanced Settings is set to Yes on the ADVANCED > System Configuration page.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 11, "requestCorrelationId": "c9c2a6966b7b4f2a8a800004d9c5cdbc"}