Skip to content

Ingest and parsing problems

This page helps when logs do not arrive, arrive late, are not recognised, are rejected, or when the number of stored events does not match what a source sent. It follows a log line from the sender to the report.

flowchart LR
  S[Sender] --> A{Allowlist}
  A -- rejected --> X[Dropped sources]
  A --> V[Vector parse]
  V -- unrecognised --> U[Unrecognized logs queue]
  V --> K[(Kafka)]
  K --> W[Worker]
  W -- storage rule IGNORE --> N[Not stored, counted]
  W --> C[(ClickHouse)]

The best starting point is Pipeline → Flow: it shows, per source, what was stored and what was not, and why. Pipeline → Diagnostics traces what happened to a specific line. See Pipeline.

No data from a source

Work through these checks in order.

  1. Is the sender sending to the right address and port? Send to the virtual IP on a cluster. Default intake ports: syslog over TCP 5140, syslog over TLS 6514 (cluster), SNMP traps UDP 162, Filebeat Kafka 9092 (TLS 9093 on a cluster). See Ports. UDP syslog is not supported; use TCP.
  2. Is the port reachable? From the sender: nc -vz qubesight.example.com 5140. Check host and network firewalls.
  3. Is the sender allowed? If the source IP allowlist is enforced, unlisted senders are rejected. See the allowlist section.
  4. Is the line recognised? Lines that match no parser go to the Unrecognized logs queue and are not stored. See Unrecognised logs.
  5. Is it filtered on purpose? A storage rule (Pipeline → Storage rules) or a noise rule can decide not to store matching events. Pipeline → Flow lists not-stored events with the rule that dropped them.
  6. Is ingestion held? If the disk guard holds events, or a restore from backup is running, events wait and appear later. Check Retention → Disk status and the restore banner.
  7. Cloud sources: is the licence valid? Event Hub, Kinesis and CloudWatch Logs ingestion pauses without loss when the Enterprise licence or marketplace entitlement is missing, and resumes where it stopped when a licence is applied. While paused, the banner Enterprise license required: {n} ingest sources paused is shown on every page and the three tabs are hidden under Data Sources → Stream Sources.
  8. Look at the time range. Events are stored with their own event time. A source with a wrong clock, or a Guardium archive of past days, writes events outside "today".

Enterprise installations also get a Source silence alert when a known source stops sending; see Monitoring.

Unrecognised logs

Symptom. Lines appear under Pipeline → Parsing → Unrecognized logs (not stored), or Pipeline → Flow shows an "Unrecognized format (queued)" count.

Cause. The line matched neither the built-in parsers (for example Guardium LEEF and JSON) nor your parse rules. It is not lost: it is kept raw in the queue.

Fix:

  1. Open Unrecognized logs. In 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 *. Raw lines shows the individual lines.
  2. For a shape you need, choose Teach this format (the wizard splits the line into keys and values that you map to columns) or Let me select the fields (select values with the mouse and name them). With a language model available, Parse with AI proposes what the log is and its fields; you review and save, nothing is saved automatically.
  3. When you save a rule, the matching lines already in the queue can be processed with it and stored with the time they first arrived.
  4. For shapes you do not need: Ignore this shape stops storing exactly this format; Stop taking these writes a raw-text rule (counted under the rule name in Flow); Delete from queue only removes queued lines and creates no rule.

See Add a new data source for planning a new log format.

Lines rejected by the allowlist

Symptom. A sender appears under Dropped sources on Data Sources → Stream Sources → Access allowlist (Syslog/SNMP), with a Rejected count and Last rejected time. Since 2.0.109 a rejected sender appears within a few seconds of its first rejected line (before, the entry could wait for later allowed traffic).

Cause. The source IP allowlist is enforced and the sender's address is not on it. It applies to syslog lines and SNMP traps, also over TLS.

Fix. An administrator adds the address (use Fetch suggestions to see senders seen recently) and saves. Before enforcing the allowlist for the first time, list all senders, otherwise their lines are rejected. See Ingest access allowlist.

Kafka SASL and authorisation errors

Symptom. Filebeat logs an authentication error (SASL authentication failed) or an authorisation error for the topic; nothing arrives from Filebeat.

Cause and fix:

Error Cause Fix
SASL authentication failed Wrong user name, password or mechanism Use the user and password shown on Data Sources → Stream Sources → Filebeat (user qs-filebeat, mechanism SCRAM-SHA-256).
Topic authorisation failed Filebeat writes to a topic it is not allowed to The Filebeat user may only write to filebeat-db-logs. Use the sample configuration from the Filebeat page.
Connection refused or reset on 9092/9093 Firewall, plain versus TLS port mismatch, or the cluster's broker forwarding ports not open On a cluster, Filebeat connects to the virtual IP on 9092 (or 9093 with TLS) and is then redirected to the per-broker ports on the virtual IP; open those too. See Filebeat and Kafka ingest.

Set Filebeat's required_acks: -1 so that a line counts as delivered only when every replica has it.

Event Hub, Kinesis or CloudWatch Logs lag

Symptom. Cloud database events arrive minutes or hours late.

Checks:

  1. Stream Sources → Event Hub, AWS Kinesis or AWS CloudWatch Logs: the integration's status and last error (credentials, permissions, throttling).
  2. Throughput: one worker consumes all sources; if the cloud source carries more events than one worker can process, events wait in the cloud service. Measure capacity with the benchmark and add worker replicas.
  3. Cloud-side retention: Event Hub and Kinesis keep events only for their configured retention. A backlog older than that is lost at the cloud side.
  4. The consumer position moves only after events are written to ClickHouse, so a restart never skips events.

The product does not display the consumer lag of cloud sources. Event Hub and Kinesis throughput ceilings have not been measured by QubeSight.

Guardium restore gaps

Symptoms.

  • Alert "Guardium archive not received: sender, day": the archive of a collector for a day did not arrive.
  • Alert "Live records with no match in the archive": live (SNMP) rows of a day were not matched by the next-day archive.
  • Restored rows without session details (client host, OS user, program): the Guardium archive itself contained no session data for that day.

Fix.

  1. Check on the Guardium side that the daily archive ran and was transferred to the archive server.
  2. On Data Sources → Guardium → Archive import, check the restore history for the day and re-run the restore of the missing file once it is available.
  3. Use the restore verification to compare archive digests with the stored rows.

See Guardium archive import.

Duplicate or merged lines

QubeSight gives every event a deterministic id. The event table keeps one row per id, so an event delivered twice (at-least-once delivery after a restart or failover) is stored once. When you count rows, short-lived duplicates may be visible until ClickHouse merges them; reports count each event once.

Observation Explanation
A sender resent the same line and you see two events Since release 2.0.106, lines without their own timestamp receive a unique line id at intake. A line the sender itself sends twice is stored twice (a possible duplicate rather than a loss).
Identical lines in the same second collapsed into one event (before 2.0.106) Lines without their own timestamp used the receipt time rounded to the second; identical lines in the same second got the same id. Fixed in 2.0.106: receipt time is in milliseconds and each line has its own id. Upgrade if you see this.
Identical events with a source timestamp in the same second collapse Lines with their own second-precision timestamp (including Guardium) are still de-duplicated by content and time. This is intended: it matches a Guardium live event with the same event restored from the next-day archive.
Counts briefly higher after a node failure Events that a failed worker had not committed are processed again; they merge by id.

Log loss notice

Symptom. Pipeline → Flow shows "Log loss: N event(s) were discarded without being written to Kafka", with a critical Platform component alert.

Cause. Vector keeps events in its disk buffer and retries Kafka indefinitely, so a temporary outage never loses events. This notice means Kafka refused events permanently, for example because a message is larger than allowed or authorisation failed.

Fix. Read the Vector log for the reason (docker logs --tail 500 qubesight_vector): message size, authorisation or topic errors. Fix the cause; the counter stays at zero on a healthy installation. Lines sent over plain or TLS TCP syslog to a node that fails abruptly can also be lost in flight; for zero-loss sources use Filebeat (Kafka) or a disk-queued sender and send to the virtual IP.