Add a new data source¶
This guide shows how to bring a new database or log source into QubeSight: how to choose the ingest path, open the endpoint to the sender, make sure every line is parsed into fields, decide what is stored, and verify that events arrive.
Community Enterprise
Syslog, Filebeat and the Guardium paths are available in both editions. Azure Event Hub, AWS Kinesis and AWS CloudWatch Logs require Enterprise. Source silence monitoring (Source Health) requires Enterprise.
Before you begin¶
- You are signed in as an administrator. The access allowlist is visible and editable for administrators only; auditors have read-only access to the Pipeline pages. See Roles and capabilities.
- You know which database engine and platform the source runs on (self-hosted, Azure, AWS) and how it can export its audit log.
- The network path from the source (or from QubeSight, for pulled sources) is open. See Network, ports and firewall.
Step 1: choose the ingest path¶
Use the table to pick the path. The first matching row is usually the best choice.
| Source | Recommended path | Built-in parser | Page |
|---|---|---|---|
| IBM Guardium appliances | SNMP live path, plus the daily archive | Yes | Guardium overview |
| IBM Guardium, syslog already configured | Syslog | Yes (LEEF and JSON templates) | Guardium syslog |
| MongoDB Enterprise or Couchbase Server Enterprise, self-hosted | Filebeat to Kafka | Yes | Filebeat and Kafka ingest |
| Azure SQL Database, SQL Managed Instance, Azure Database for PostgreSQL or MySQL flexible server, Cosmos DB | Diagnostic settings to Azure Event Hubs | Yes | Azure Event Hub |
| Aurora PostgreSQL / MySQL, RDS for Oracle / SQL Server | Database Activity Streams to Kinesis | Yes | AWS Kinesis and Database Activity Streams |
| RDS for MySQL / MariaDB / PostgreSQL | CloudWatch Logs, read directly or through Kinesis | Yes | AWS CloudWatch Logs |
| Any other device or database that can send syslog | Syslog to TCP 5140 | No: you teach the format once | This page, step 4 |
For a per-engine summary see Native database audit logs. Slow-operation logs (durations and row counts) are an optional addition to an audit source; see Slow-operation logs.
Syslog uses TCP
The syslog endpoint listens on TCP 5140. UDP syslog is not accepted. In a cluster with ingest TLS enabled, TLS syslog is accepted on TCP 6514 (see Syslog and Kafka TLS).
Step 2: allow the sender (syslog and SNMP only)¶
The syslog (TCP 5140) and SNMP trap (UDP 162) endpoints do not authenticate the sender. While the allowlist is enforced, only lines from listed addresses are accepted; the rest are dropped and counted. Kafka (Filebeat) uses credentials instead, and the pulled cloud sources need no allowlist entry.
- Open Data Sources → Stream Sources → Access allowlist (Syslog/SNMP). The tab is visible to administrators only.
- Press Fetch suggestions. The table lists addresses that sent logs in the last 30 days and the defined Guardium devices.
- Add the new sender's address or network (for example
192.0.2.10or192.0.2.0/24) with a Note, or use Add every address that is not listed. - If the list is not yet enforced, turn on the Enforce switch once every legitimate sender is listed (the status pill changes from Off to Enforced).
- Press Save. The log collector on every node applies the list within about 30 seconds; the page shows whether the collector is in sync.
Rejected senders appear under Dropped sources with the endpoint and the time of the last rejection. Details: Ingest access allowlist.
Warning
Do not add container gateway addresses (for example a Docker or Podman bridge gateway). Traffic forwarded from the host appears with that address, so listing it allows every sender.

Step 3: configure the source and the QubeSight side¶
Follow the page for the chosen path. For a generic syslog sender, configure the device or the database host's syslog daemon to forward to <qubesight-address>:5140 over TCP. In a cluster, send to the virtual IP so that ingest survives a node failure.
For zero-loss requirements, use a sender with a disk queue and unlimited retry (for example rsyslog with a disk-assisted queue, or syslog-ng with a disk buffer), or use Filebeat. Plain TCP syslog has no application-level acknowledgement: lines in flight when a node fails can be lost. Once a line reaches QubeSight's collector it is buffered on disk until the internal Kafka confirms it.
Step 4: make sure lines are parsed¶
Parsing splits each line into fields (DB user, client IP, SQL, database). It does not decide what is kept.
Built-in parsers¶
Open Platform → Pipeline → Parsing → Built-in parsers. The table lists each parser, what it reads, where it runs (Vector (at intake) or Worker), the lines it read in the last 24 hours and the time of the last line:
- Guardium LEEF, Guardium JSON template, Guardium archive restore
- Filebeat (MongoDB / Couchbase)
- Azure Event Hub, AWS Kinesis, AWS CloudWatch Logs
A syslog line is tried in this order: the built-in Guardium LEEF parser (when the first marker in the line is LEEF:), your parse rules (newest first, first match wins), the built-in Guardium JSON template parser. If nothing recognises the line, it goes to the unrecognised-logs queue. Parse rules apply only to syslog lines.
Teach a new format¶
Lines that no parser recognises are not stored as events. They are kept raw in a queue so that nothing is lost.
- Open Platform → Pipeline → Parsing → Unrecognized logs (not stored).
- Choose the Shapes view. Lines of the same format are grouped into one shape; the parts that change (numbers, IPs, times, ids, quoted values) are shown as
*. - Select the shape of your new source and choose one of:
- Let me select the fields: select values in the line with the mouse and name them (DB user, client IP, SQL...).
- Parse with AI Enterprise: an active external language model (see LLM providers) proposes what the log is and which fields to extract. The local assistant model is never used for this step. You review and save; nothing is saved automatically.
- Teach this format (from the Raw lines view): opens the New rule wizard.
- In the wizard, go through Sample, Format and split, Mapping, Preview and Save:
- The wizard detects the header (none, RFC 3164 or RFC 5424 syslog) and the body format (JSON, key=value, CEF, delimited, or a regular expression).
- Set a Scope (text the line must contain), for example the application name. An unscoped rule is refused because it would apply to every line.
- Map each key to a column, for example
user→ DB user,stmt→ SQL. Keys you do not map are not lost: they go to the Additional info (additional_info) column, which reports can show and search. - Map a time field only if it is in
YYYY-MM-DD HH:MM:SSor RFC 3339 format. Classic syslog time has no year and cannot be read; without a mapped time the intake time is stored.
- On the Save step, tick Also process and store the N queued lines that match this rule now to store the queued lines as well. They are stored with the time they first arrived, and a line leaves the queue only after it is written.
- Press Save rule. The rule is compiled into the collector configuration and takes effect within seconds.
If a rule is wrong, delete it under Parsing → Your rules; matching lines fall back to the queue.
Two other actions are available on a queued shape or line:
| Action | Effect |
|---|---|
| Delete from queue | Deletes the matching queued lines. No rule is written; if the same line arrives again it is queued again. |
| Stop taking these / Ignore this shape | Writes a raw-text rule. Matching lines are not stored from now on and are counted under the rule name. |


Step 5: decide what is stored¶
Storage rules decide whether a parsed event is written. If no rule matches, the event is stored. Ignored events are not written but are counted under the rule name.
Open Platform → Pipeline → Storage rules:
- Ingest policy: ordered rules on event fields (DB user, client IP, program, server and others) with the actions log, ignore or write directly. The first matching rule wins. Write directly stores the event field by field without SQL parsing and without critical-marking rules.
- Built-in rules: shipped with the product and off by default, for example the rules that ignore the cloud providers' own management users (AWS
rdsadmin, Azureazuresu, the Azure SQL Managed Instance connectivity probe). When on, matching events are counted, not written. - Raw-text rules: match the raw line, for example to never take the lines of an unwanted device.
Storage rules apply to every source and are evaluated in the worker; changes take effect within 30 seconds. If one query arrives thousands of times a minute, use Platform → Pipeline → Noise management to summarise it instead of ignoring it.
Verification¶
- Generate test activity on the source (a login, a
SELECT, a failing statement). - Open Platform → Pipeline → Flow and choose Last hour. Check that the lines appear under 1 · Parsing (reading) as Read (or Your rules) and under Event table as Stored. Lines under Unrecognized are not stored.
- Open Platform → Pipeline → Diagnostics → Recent lines to see the raw line, the detected format, the parsed fields, the SQL category and the stored record.
- Search the events in Reports (for example the full SQL report filtered by the server IP).
- For pulled sources, check the integration card under Data Sources → Stream Sources (Events Received, Last Event, Worker Status).
- In Enterprise, open Data Sources → Source Health and confirm the new source is listed. Source Health raises a silence alert when a monitored source stops sending; with the default rule a regular source is flagged after at least 6 hours of silence and a sparse one after 24 hours (see Source Health).

Troubleshooting¶
| Symptom | Cause and action |
|---|---|
| Nothing arrives; the sender appears under Dropped sources | The sender is not on the allowlist. Add it and save. |
| Nothing arrives, nothing is dropped | Network path or port: syslog must use TCP 5140. Check the host firewall and, in a cluster, that the sender uses the virtual IP. |
| Lines land in Unrecognized logs | No parser recognises the format. Teach the format (step 4). |
| Events are stored but the SQL category is "unknown" | The line was parsed; only the SQL type (SELECT, INSERT...) could not be derived, for example for BEGIN or SET. No rule is needed. |
| Flow shows Log loss: N event(s) were discarded without being written to Kafka | A permanent internal Kafka error (message size, authorisation, topic). A critical Platform component alert is open. See Ingest and parsing problems. |
| Events stored with the intake time instead of the source time | No time field is mapped, or the mapped time is not in a readable format. |
Limitations¶
- Syslog over UDP is not accepted.
- Parse rules apply only to syslog lines. Lines from Filebeat, Event Hub, Kinesis and CloudWatch Logs are read by built-in parsers in the worker and cannot be changed with parse rules.
- A new rule affects lines arriving from then on (and, optionally, lines still in the queue). Events already stored are not re-parsed.
- Plain TCP syslog can lose lines in flight when the receiving node fails; this is a limit of the protocol.