Artica Wiki

Connect a UniFi Network gateway to the Artica SIEM

Stream UniFi Network Application 9.x firewall and IPS events to the Artica SIEM in CEF format: configuration, field mapping, dashboards and troubleshooting.

Starting with artica-siem 1.0.20, the SIEM firewall ingestion pipeline understands the CEF (Common Event Format) stream produced by UniFi Network Application 9.x and later. A UniFi gateway (UDM, UDM Pro, UDM Pro Max, UCG, Cloud Gateway Fiber…) can stream its firewall and intrusion-prevention events straight into the same dashboards, event journal and alerting rules already used for FortiGate and iptables devices.

UDR, UDR7, UDR 5G Max, Express, Express 7, UDM, UCG-Ultra and UXG-Lite are excluded, see this procedure to send events to SIEM

This page covers the UniFi side (enabling the SIEM integration), the Artica side (declaring the gateway as a syslog source), how the events are normalized, and what to check when something does not show up.

Appliances used in the examples:

Why stream UniFi events to the SIEM

Use cases

How it works

UniFi Network Application 9.x can stream its activity log to a SIEM server in CEF format (an ArcSight-originated standard: a pipe-delimited header followed by key=value extensions). The Artica SIEM syslog receiver auto-detects the format of each incoming message by content: a message carrying the CEF: marker and the |Ubiquiti|UniFi vendor header is parsed as UniFi CEF, and stored with format = unifi_cef. Detection is deliberately vendor-scoped: CEF from another vendor is not guessed at.

Two families of UniFi events become firewall sessions:

Every other CEF event UniFi streams (client connected, admin logins, configuration changes…) carries no src/dst pair: the SIEM counts it as ignored — recognized, deliberately out of the firewall scope — not as an error.

Requirements

Step 1 — Enable the SIEM stream on the UniFi console

On the UniFi Network application:

  1. Open Settings > Control Plane > Integrations.
  2. Next to Activity Logging (Syslog), choose the SIEM Server option.
  3. Point it at the Artica SIEM appliance: address 192.168.90.66, port 514. Select the CEF log format.
  4. Select at least the Security / Firewall event categories (names vary slightly across 9.x releases; anything else is accepted and simply ignored by the firewall pipeline).

Firewall rules only log if you ask them to. On each firewall policy you want to see in the SIEM, enable its Syslog logging toggle in the rule’s advanced options. A rule that does not log produces no event — on the console or anywhere else. Keeping the verdict (“Block …” / “Allow …”) at the start of the rule description makes the SIEM classification unambiguous.

Step 2 — Declare the gateway on the Artica SIEM

The SIEM attributes each syslog sender to a tenant, server-side, from its source IP. Open Statistics/SIEM > Firewall sources, click New source and declare the UniFi console’s IP address with a device label and the tenant that should own the events:

Firewall sources page with the UniFi gateway declared

Declaring an active source automatically starts the syslog listener on port 514 — there is no separate service to enable. The moment the UniFi console starts streaming, events are parsed, attributed and durably queued to ClickHouse.

Step 3 — Check the events arrive

Open Statistics/SIEM > Firewall events. UniFi sessions show up with the gateway name (taken from the CEF UNIFIhost field), the normalized action, and the source/destination pair. The search field accepts an IP — matched on either side — optionally followed by a destination port (<ip> <port>):

Firewall event journal filtered on a destination IP, showing UniFi deny events

On the firewall dashboard, the collapsible Filters panel narrows every KPI, curve and ranking to the gateway — type its device name in the Device field and apply:

Firewall dashboard filtered on the UniFi gateway

Without the filter, the same dashboard aggregates the whole firewall fleet — UniFi gateways, FortiGates and iptables devices side by side (the Firewall devices tab ranks them):

Unified firewall dashboard aggregating all firewall devices

How UniFi fields are mapped

UniFi CEF field SIEM column Notes
src / dst Source / destination IP Required — events without the pair are ignored
spt / dpt Source / destination port
proto Protocol Normalized to lowercase (tcp, udp…), numeric values accepted
act, or the CEF event name Action See the normalization table below
UNIFIhost / dvchost / dvc Device Falls back to the syslog sender IP
smac / dmac Source / destination MAC Shown only to operators holding the raw role
app Service
CEF event class ID / name / severity Log ID / Subtype / Level Visible in the event detail
rt or start, else the syslog timestamp Event time Epoch in s/ms/µs/ns accepted; falls back to receive time
externalId Session ID Part of the deduplication fingerprint

Country enrichment (GeoIP) and reverse-DNS hostnames are applied by the SIEM at ingestion time, exactly as for the other firewall formats.

Action normalization

Dashboards count blocked traffic on a canonical verb set. UniFi verdicts are folded onto it — including when the event carries no act key and the verdict only appears in the event name or in the firewall rule description:

UniFi verdict (act key or event name) Stored action
Blocked, block, Denied, “Block …” rule names, “Threat Detected and Blocked” deny
Dropped, drop drop
Rejected, reject reject
Allowed, accept, pass, permit, “Allow …” rule names accept
Anything else Kept as-is, lowercased (never silently folded onto accept or deny)

Known limitations

Troubleshooting