Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?



The JSA DSM for osquery receives JSON formatted events from devices that use a Linux operating system. The osquery DSM is available for JSA V7.3.0 and later.

The osquery DSM supports rsyslog and the following queries that are included in the qradar.pack.conf file for osquery V3.3.2:

  • container_processes

  • docker_container_mounts

  • docker_containers

  • listening_ports

  • process_open_sockets

  • sudoers

  • users

  • file_events

The supported osquery queries run on a 10 second interval, and only capture data that is available at that moment. For example, if a new process starts and finishes between queries of container_processes, that information is not captured by osquery.

The following supported queries only capture data that is available at the 10 second querying interval:

  • container_processes

  • docker_container_mounts

  • docker_containers

  • listening_ports

  • process_open_sockets

  • sudoers

  • users

To integrate osquery with JSA, complete the following steps:

  1. If automatic updates are not configured, download the most recent version of the following RPMs from the onto your JSA console:

    • DSMCommon RPM

    • osquery DSM RPM

    • TCP Multiline Syslog protocol RPM

    • Protocol Common RPM

  2. Ensure that the TCP port you want to use on your JSA Console to receive events is open.

  3. Configure rsyslog on your Linux system.

  4. Configure osquery on your Linux system.

  5. Add an osquery log source on the JSA Console to use the TCP multiline syslog protocol.

osquery DSM Specifications

When you configure osquery, understanding the specifications for the osquery DSM can help ensure a successful integration. For example, knowing what the supported version of osquery is before you begin can help reduce frustration during the configuration process.

The following table describes the specifications for the osquery DSM:

Table 1: osquery DSM specifications



DSM name


RPM file name


Supported versions




TCP Multiline Syslog

Event format


Recorded event types

Access Audit Authentication System

Automatically discovered?


Includes identity?


Includes custom properties?


More information

osquery website

Configuring rsyslog on your Linux system

Before you can add a log source in JSA, you need to configure rsyslog on your Linux system.

Rsyslog must be installed on your Linux system. For more information, go to rsyslog website.

  1. On your Linux system, open the /etc/rsyslog.conf file, and then add the following entry at the end of the file: @@<QRadar_IP_address>:12468

    where <QRadar_IP_address> is the IP address of the JSA Event Collector that you want to send events to.

  2. You must be able to send rsyslog on a non-traditional TCP port. A potential challenge is that SELinux might block TCP port 12468.

  3. Restart the rsyslog service.

Configuring osquery on your Linux system

Before you can add a log source in JSA, you must configure osquery on your Linux device.

Osquery V3.3.2 must be installed and running on your Linux system.

  1. Download the qradar.pack.conf file

  2. Copy the qradar.pack.conf file to your osquery host. For example, <location_of_pack_file>/qradar.pack.conf

  3. Edit the osquery.conf file. The default file location is /etc/osquery/osquery.conf.

    1. Ensure the following options are included in the osquery.conf file.

      "disable_logging": "false" "disable_events" : "false" "logger_plugin": "filesystem,syslog"

    2. Add qradar.pack.conf to the osquery.conf file.

      "qradar": "/<path_to_packs>/qradar.pack.conf"


    The qradar.pack.conf file contains a “file_paths” section that defines default file integrity monitoring for the JSA pack. “file_paths” that are defined inside customer <osquery>.conf files take precedent over the qradar.pack.conf file.

  4. Restart the osquery daemon

osquery log source parameters

When you add an osquery log source on the JSA Console by using the TCP multiline syslog protocol, there are specific parameters you must use.


You might need to restart rsyslog after you add the log source in JSA.

The following table describes the parameters that require specific values to collect TCP multiline syslog events from osquery:

Table 2: TCP multiline syslog log source parameters for the osquery DSM



Log Source type


Protocol Configuration

TCP Multiline Syslog

Log Source Identifier


Listen Port


Aggregation Method


Message ID Pattern


Event Formatter

No Formatting

Show Advanced Options


Use As A Gateway Log Source

Select this option.

When selected, events that flow through the log source can be routed to other log sources based on the source name tagged on the events.

Retain Entire Lines During Event Aggregation

Select this option.

When this option is selected, you can either discard or keep the part of the events that come before Message IDPattern when you concatenate events with the same ID pattern together.

Time Limit



Select this option to enable the log source.

osquery Sample event message

Use this sample event message as a way of verifying a successful integration with JSA.

The following table provides a sample event message when using the TCP multiline syslog protocol for the osquery DSM:

Table 3: osquery DSM sample message supported by osquery

Event name

Low-level category

Sample log message

User Added

User Account Added

<158>Sep 23 08:48:48 osquery.test osqueryd[16768]:
.test.localdomain","calendarTime":"Mon Sep 23
12:48:48 2019