Skip to content

IBM QRadar via Fluentd

These instructions provide you with the example integration of Wallarm with the Fluentd log collector to further forward events to the QRadar SIEM system.

Webhooks can be used as system log sources. The number of log sources depends on the system complexity: the more components in the system, the greater number of log sources and logs. The most common logging scheme in complex systems consists of the following components:

  • Log collector: accepts logs from several sources and forwards logs to the SIEM system

  • SIEM system: used to analyze logs and monitor the system status

Webhook flow

Used resources

Wallarm Cloud IP addresses

To provide Wallarm Cloud access to your system, you may need a list of its public IP addresses. To get these addresses, request them from the Wallarm technical support team.

Note that the public IP addresses of Wallarm Cloud can change from time to time. If your experience some problems with the addresses that you currently use, request up-to-date addresses from the Wallarm technical support team.

Since the links to the Fluentd and QRadar services are cited as examples, they do not respond.

Fluentd configuration

Fluentd is configured in the td-agent.conf file:

  • Incoming webhook processing is configured in the source directive:

    • Traffic is sent to port 9880
    • Fluentd is configured to accept only HTTPS connections
    • Fluentd TLS certificate signed by a publicly trusted CA is located within the file /etc/ssl/certs/fluentd.crt
    • Private key for TLS certificate is located within the file /etc/ssl/private/fluentd.key
  • Forwarding logs to QRadar and log output are configured in the match directive:

    • All event logs are copied from Fluentd and forwarded to QRadar at the IP address
    • Logs are forwarded from Fluentd to QRadar in the JSON format according to the Syslog standard
    • Connection with QRadar is established via TCP
    • Fluentd logs are additionally printed on the command line in JSON format (19-22 code lines). The setting is used to verify that events are logged via Fluentd
  @type http # input plugin for HTTP and HTTPS traffic
  port 9880 # port for incoming requests
  <transport tls> # configuration for connections handling
    cert_path /etc/ssl/certs/fluentd.crt
    private_key_path /etc/ssl/private/fluentd.key
<match **>
  @type copy
      @type remote_syslog # output plugin to forward logs from Fluentd via Syslog
      host # IP address to forward logs to
      port 514 # port to forward logs to
      protocol tcp # connection protocol
      @type json # format of forwarded logs
     @type stdout # output plugin to print Fluentd logs on the command line
     output_type json # format of logs printed on the command line

A more detailed description of configuration files is available in the official Fluentd documentation.

Testing Fluentd configuration

To check that Fluentd logs are created and forwarded to QRadar, the PUT or POST request can be sent to Fluentd.

Request example:

curl -X POST '' -H "Content-Type: application/json" -d '{"key1":"value1", "key2":"value2"}'

Fluentd logs:

Logs in Fluentd

QRadar logs:

Logs in QRadar

QRadar log payload:

Logs in QRadar

QRadar configuration (optional)

In QRadar, the log source is configured. It helps to easily find Fluentd logs in the list of all logs in QRadar, and can also be used for further log filtering. The log source is configured as follows:

  • Log Source Name: Fluentd

  • Log Source Description: Logs from Fluentd

  • Log Source Type: type of incoming logs parser used with Syslog standard Universal LEEF

  • Protocol Configuration: standard of logs forwarding Syslog

  • Log Source Identifier: Fluentd IP address

  • Other default settings

A more detailed description of QRadar log source setup is available in the official IBM documentation.

QRadar log source setup for Fluentd

Configuration of webhook integration

  • Webhooks are sent to

  • Webhooks are sent via POST requests

  • The webhook integration has default advanced settings

  • Webhooks sent to Webhook URLs are all available events: hits, system events, vulnerabilities, scope changes

Webhook integration with Fluentd

More details on the webhook integration configuration

Example testing

To test the configuration, a new user is added in Wallarm Console:

Adding user

Fluentd will log the event as follows:

Log about new user in QRadar from Fluentd

The following data in JSON format will be displayed in the QRadar log payload:

New user card in QRadar from Fluentd