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

Email Gateway Defense
Results will update as you type.
  • Release Notes
  • Upcoming Change with Admin Sender Policies to Override User Policies
  • How to Protect Against Gateway Bypass and Direct Send Risks
  • Getting to Know Email Gateway Defense
  • Getting Started
  • Moving from Barracuda Email Security Gateway to Email Gateway Defense
  • How the Service Works
  • Email Gateway Defense IP Ranges Used for Configuration
  • Partner Accounts
  • Sender Policy Framework for Outbound Mail
  • How to Set Up MX Records for Domain Verification
  • Security Warnings
  • Understanding User Accounts
  • Sender Authentication
  • Inbound Filtering Policy
  • Outbound Filtering Policy
  • Advanced Configuration
  • Managing Domains
  • Logs and Reports
  • User Guides
  • Tools and Add-Ins
    • Barracuda Email Threat Scanner for Microsoft 365
    • Splunk Integration
  • API Overview
  • Troubleshooting, Error Messages, and Additional Tips
  • Known Behaviors and FAQs
  • Online Service Terms

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Splunk Integration
    Published Jan 09

    Splunk Integration

    Jan 09, 2026
    Subscribe

    The Barracuda Splunk app collects data from Email Gateway Defense and utilizes Splunk to provide aggregated and individual visualizations. Administrators can view a number of different metrics, including but not limited to inbound and outbound mail, top sender/recipients, actions taken, and detected threats. Data is imported into Splunk via syslog streaming of the Message log. The Splunk dashboard can be exported to PDF format for easy distribution. 

    splunk.png

     

    The instructions below are for Linux installation and may vary depending on the version of Splunk.

    Install the Email Gateway Defense Splunk App

    1. Log in to your Splunk interface.

    2. In the left-hand navigation, click Find more apps.

    3. Search for Barracuda. Once you find Barracuda Email Gateway Defense, click Install.

    4. Log in with your Splunk.com credentials to download the app. If you do not have one, create one for free here: https://login.splunk.com/.

      Note that you sign into Splunk with your username, not your email address. Your username is configured when you created your Splunk account.

    5. Click Open app. 
      Alternatively, go to https://<your-splunk-instance>/en-US/app/BarracudaESS/ess.

    Enable the Data Listener

    1. Go to Settings > Data Inputs.

    2. Select TCP.

    3. Click Enable.

    Configure Certificates for Syslog and TLS

    The Barracuda Splunk app requires you to configure SSL encryption for communication between Barracuda Networks and Splunk. 

    1. Log in to the Splunk server via SSH.

    2. Generate the certificate using the following command:  

      sudo /opt/splunk/bin/splunk createssl server-cert -d /opt/splunk/etc/auth -n splunk -c splunk -p

      • For the PEM passphrase, enter password.

      • Hit Enter for all the other inputs.

    3. Open the following file and add a section for SSL: 

      sudo vim /opt/splunk/etc/apps/BarracudaESS/default/inputs.conf

      [SSL]
      serverCert=/opt/splunk/etc/auth/splunk.pem
      password=password
      requireClientCert=false
      rootCA=/opt/splunk/etc/auth/cacert.pem

    4. Restart Splunk using the following command: 
      sudo /opt/splunk/bin/splunk restart. 

    Verify Splunk is Listening on the Proper Ports

    Verify that the service is listening on the appropriate port using netstat or a similar utility.

    [splunk-user@ip-172-30-22-95 default]$ netstat -tln

    Certificate Troubleshooting

    Most syslog servers can be configured to check client certificates. Barracuda syslog clients currently use a self-signed client certificate. Thus, if the syslog server validates client certificates, syslog messages can be rejected. To avoid this error, turn off syslog client certificate validation for Email Gateway Defense or add the certificate to a trusted certificate configuration.

    Configure Email Gateway Defense to Send Syslog to Splunk

    1. Log into Email Gateway Defense and navigate to the Account Management tab.

    2. Enter the public IP address of your Splunk instance and port 6515.

    For more information, see the Email Gateway Defense Syslog Integration.

    Barracuda Splunk App

    Log into Splunk, and click on the Barracuda app on the Splunk dashboard. Select the Time Range and Domain for the query.

    Barracuda Splunk Dashboard

    The app allows you to display domain statistics information based on a relative period (i.e. last 30 days) or real-time window (i.e. 1 minute).

    Examples of Additional Splunk Queries

    Top PTR Records

    sourcetype=BarracudaESSJSON dst_domain=$destDomain$ ptr_record 
    | where isnotnull(account_id) and len(account_id) > 0
    | foreach ptr_record [ eval ptr_record = if(isnull(ptr_record) OR len(ptr_record)==0, "No PTR Record", ptr_record) ]
    | top showperc=false limit=20 ptr_record
    | rename "ptr_record" as "PTR Record", "count" as "Volume"

    Popular Subjects

    sourcetype=BarracudaESSJSON dst_domain=$destDomain$
    | where isnotnull(account_id) and len(account_id) > 0
    | top showperc=false limit=20 "subject"
    | rename "subject" as "Subject", "count" as "Count" 


    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": 29, "requestCorrelationId": "c7627c297fb44e3e8bbed66f64048afa"}