Skip to content

Log sources

Open in the platform

The Log sources screen answers the question "is my firewall sending logs, and are those logs turning into information?". It lists the log sources: firewalls, switches, storage and services that do not run an agent and send syslog to the Hub. For each device, you see its state, how many lines arrived, how many became events and a sample of what arrived. One click opens the dossier, with what that device recorded over up to 24 hours.

Open Security → Log sources. The item appears when the plan includes security events.

Who uses it

  • Network team: points the firewall at the Hub, checks within 2 minutes that lines arrived and keeps an eye on who stopped sending.
  • Security analyst: opens a firewall's dossier to see what was blocked, who changed the configuration and what is out of the ordinary in the last 24 hours.
  • Admin: names the devices, marks the ones that are quiet on purpose and turns on the Threat view on firewalls.

How a firewall's logs reach the platform: syslog, Hub and event

A firewall does not run an agent, so it sends its own logs over the network, as syslog, to a Linux machine on your network: the Hub. The Hub forwards them to the platform's analysis center, which turns the lines into events and feeds the screens.

flowchart LR F[Firewall<br/>fw-matriz-01]:::agt S[Switch or service<br/>without an agent]:::agt H[Hub<br/>hub-matriz-01]:::agt C[Analysis center<br/>of the platform]:::plat P[Screens<br/>Log sources, Security alerts, Threat view]:::plat F -->|syslog 514/UDP| H S -->|syslog 514/UDP| H H -->|outbound connection| C C --> P classDef agt fill:#f0e6ff,stroke:#6400df,color:#1e293b classDef plat fill:#6400df,stroke:#4a00b3,color:#ffffff

Four words explain the whole screen:

Term What it is
Syslog The standard way for a network device to send its own logs to another machine, one line at a time.
Origin or device Whoever sends the syslog: firewall, switch, storage, service. The Sources card counts the same thing.
Hub The Linux machine that receives the syslog and forwards it. It has two parts: the log receiver, which listens on port 514, and the agent, which talks to the platform. It only receives logs: the protection of your hosts does not change, and no agent has to be re-pointed.
Event A line the analysis center recognized and stored. It is what shows up in Security alerts and in the Threat view.

A received line is not an event

The Hub counts everything it receives, but only lines in a recognized format can become events, and not all of them do: allowed traffic, for example, is only counted. That is why the table separates Lines 24 h from Events 24 h. The full line is not kept: the only exception is the sample, with up to 3 lines per device.

Nothing pointed yet? Go to Connect a firewall or switch.

The Log sources screen: cards, Hubs and devices

In Security → Log sources, the screen shows, from top to bottom, the summary cards, the Hubs and the sources table.

Log sources screen with the six cards, the Hubs table and the sources table

The two buttons at the top:

  • Add device: opens the connect a new source wizard. Only the Admin sees it.
  • View records: opens the Logs screen on the Security data set, over 24 hours, the same range as the columns here.

The numbers and states in the screenshots are only examples, and they change with each platform refresh.

Source cards: Sources, Generating events, Silent and Attention

In Security → Log sources, the six cards summarize the state of the devices. They count all your devices, regardless of the search or the table filter.

The six cards: Sources, Generating events, No events in the period, Count only, Silent and Attention

Card What it counts
Sources All the devices seen by the Hub. A click clears the filter.
Generating events Format recognized, and lines became events in the last 24 hours. It is the state you want to see.
No events in the period Format recognized, but nothing became an event in 24 hours. For example, a firewall sending only allowed traffic.
Count only Format not recognized: lines are counted and sampled, but do not become events.
Silent Stopped sending, compared to each device's normal pace.
Attention Devices with high volume or with a Hub low on disk, plus Hubs connected without a heartbeat.

Click a card to filter the sources table by that state. Click again to clear it. The filter stays in the page address, so you can send the link to someone.

Attention card selected and the table filtered, with the Attention filter applied

If the only reason for Attention is a Hub without a heartbeat, the click scrolls to the Hubs table instead of filtering.

Hubs: the state of whoever receives the syslog

In Security → Log sources, the Hubs block shows each of your Hubs. If a Hub stops, every device behind it stops too: that is why it comes before the list of sources.

A Hub has two parts, and one can stop without the other: the agent, which talks to the platform (Agent seen column), and the log receiver, which listens on port 514 and receives the devices' syslog (Hub heartbeat column).

Hubs table with name, IP and port 514, state, devices, disk, version, agent seen and heartbeat

Column Content
Name The name of the Hub, which is the machine name.
IP:514 The Hub's IPs with port 514, one per line. It is the address you put on the device.
State The situation of the Hub. Hover over the badge for the explanation.
Devices How many sources go through it.
Disk Free disk on the Hub machine.
Version Version of the log receiver.
Agent seen Last contact of the Hub agent with the platform.
Hub heartbeat Last status from the log receiver, which signals every minute that it is up. With none so far, it shows Not received yet.
Actions Three-dot menu.

The states are updated every 5 minutes. With the screen open, use Update to see the latest reading.

Hub states: Connected without heartbeat, Silent, Low disk and the others

In Security → Log sources, the State column of the Hubs block uses these badges:

Hubs table with one example of each state

State What it means What to do
OK The Hub is reporting normally. Nothing.
Waiting for the first heartbeat The Hub registered but has not sent its status yet. This can take about 10 minutes. Wait.
Waiting for the first device The Hub reports normally, but no device has sent logs to it. Use Point a device at this Hub, in the Hub menu.
Silent The Hub stopped reporting. Check the machine and the agent service.
High volume The Hub receives more lines than it can forward, and some are being dropped. Reduce what the devices send.
Low disk The Hub machine is running out of disk, and logs may stop being written. Free up space on the machine.
Connected without heartbeat The Hub agent is connected, but the log receiver stopped reporting. Open How to check the Hub service.

Silent, High volume, Low disk and Connected without heartbeat also light up an amber strip at the top of the screen, so it does not go unnoticed. With Connected without heartbeat, the strip already carries the button for the modal.

Amber strip at the top warning that the Hub is connected but the log receiver stopped reporting, with the How to check the Hub service button

Hub menu: point a device, view the asset and update

In Security → Log sources, click the three dots on the Hub row.

Hub menu with Point a device at this Hub, View asset, How to check the Hub service and Update Hub

Item What it does Who sees it
Point a device at this Hub Opens the connect a new source wizard with this Hub already chosen. Admin
View asset Opens the Asset dossier of the Hub machine. Everyone
How to check the Hub service Opens the check modal. Everyone
Update Hub Opens Step 1 of the wizard, with the update command. Admin

How to check the Hub service when it stops reporting

In Security → Log sources, open the Hub menu and click How to check the Hub service, or use the button on the warning strip. It is a read-only checklist: nothing runs when you open it.

How to check the Hub service modal with the Hub, its state, Agent seen, Hub heartbeat and five steps

The steps, in the order they tend to solve the problem:

  1. Restart the Hub agent. Open the asset and use Rescan, option Full rescan, which restarts the agent. This solves most cases. Only the Admin runs this rescan.
  2. Check that the Hub service is running on the server.
  3. Check that port 514 is listening on the Hub.
  4. Check that the device is sending the logs to the Hub IP. The modal shows the IPs.
  5. If everything is running, contact support.

With the Hub in Connected without heartbeat, the modal opens by explaining what happened: the agent is connected, but the log receiver stopped reporting. View asset goes straight to the Asset dossier of that Hub, where Rescan lives.

The same modal with a Hub in Connected without heartbeat and the sentence explaining the problem above the steps

Sources table: state, lines and events of each device

In Security → Log sources, the lower table lists each device that sent logs. The table comes sorted from the most serious state to the least: a device dropping lines stays on top, and one generating events normally stays at the end.

Sources table with origin, manufacturer, Hub, state, lines, events, last seen and sample

Column Content
Origin The name you gave in Rename, otherwise the name reported by the device, otherwise the IP. Next to it, the serial, and below, the IP.
Manufacturer Fortinet, Cisco ASA, Cisco IOS, pfSense, Palo Alto, Sophos, MikroTik, UniFi, Check Point, Linux or Not identified.
Hub The Hub that receives.
State The situation of the device, explained below. It may carry the Expected low volume badge.
Lines 5 min Lines received in the last 5 minutes.
Lines 24 h Lines received in 24 hours.
Events 24 h Lines that became events in 24 hours.
Last seen Date and time of the last line.
Sample Sample (3) button, which opens up to 3 raw lines in the table itself. With nothing received, No sample yet.
Actions Three-dot menu.

Clicking anywhere else on the row opens the device dossier.

The tools above the table:

  • Search device...: searches by name, IP, manufacturer, Hub and state.
  • The All states selector: filters by the states, plus Attention.
  • Update (the arrows icon): reloads the screen, with the Hubs and the table.
  • Rows per page: 10, 25, 50 or 100.
  • Columns: shows and hides table columns. Origin always stays. See Security lists.
  • Export: generates the log-sources.csv file with the devices on the page. If there are more, the file and a notice say how many were exported: increase the rows per page or narrow the search to export more.
  • Total: how many devices the search and the filter found.

All states selector open with High volume, Hub low on disk, Silent, Waiting for the first line, Learning, Count only, No events in the period, Generating events and Attention

View a device's log sample

In Security → Log sources, click Sample (3) on the device row. Up to 3 lines appear right there, as the Hub received them.

Device row open with three raw log lines below it

The sample answers two questions: "is it really arriving?" and "is the format what the platform expects?". If the state is Unknown, count only, compare the sample with the vendor's configuration: a FortiGate in CEF, for example, arrives but does not become events.

Log source states: what each one means and what to do

In Security → Log sources, the State column of the table uses these badges, from most to least serious:

Table with one example of each source state, from High volume to Recognized, generating events

State What it means What to do
High volume (dropping) The device sends more than the Hub can forward, and lines are being dropped. Reduce what it sends. Allowed traffic is usually the culprit.
Hub low on disk The Hub machine is running out of disk. Free up space on the Hub.
Silent for (plus the time) Stopped sending, compared to its normal pace. Check the device. If it is expected, as with a switch or storage that rarely logs, mark Expected low volume.
Waiting for the first line (up to 2 min) Registered, and no line has arrived yet. Wait 2 minutes. After that, see The device does not appear or does not generate events.
Learning (first 24 h) New device: there is no reference pace yet, so silence does not raise an alarm during the first 24 hours. Nothing.
Unknown, count only Format not recognized: lines are counted and sampled, but do not become events. Compare the sample with the vendor's configuration.
Recognized, no events in the period Format recognized, but no line became an event in 24 hours. Normal if the device only had allowed traffic. If you expected blocks, check the configuration.
Recognized, generating events Format recognized and generating events. Nothing: it is the normal state.

Source menu: dossier, records, configuration, low volume and rename

In Security → Log sources, click the three dots on the device row.

Source menu with Open device dossier, View records, View vendor configuration, Expected low volume and Rename

Item What it does Who sees it
Open device dossier Opens the dossier. Everyone
View records Opens the Logs screen filtered by this device, over 24 hours. Everyone
View vendor configuration Opens the wizard at the vendor's snippet, already with the right Hub. A vendor without its own snippet falls back to the generic one. Everyone sees the item, but it opens Clients & Hubs, which the User cannot enter.
Expected low volume Turns on or off right away, with no confirmation. Admin
Rename Opens the rename modal. Admin

Expected low volume: when a device is quiet on purpose

In Security → Log sources, open the device menu and click Expected low volume. The device no longer becomes Silent for being quiet, and the badge appears below the state. To undo it, click again. The mark takes effect right away, with no confirmation window, and only the Admin sees the item.

Use it on switches, storage and services that go hours without a line. Do not use it to quiet a firewall that stopped sending: there, the silence is the warning you want.

Rename a device on the Log sources screen

In Security → Log sources, open the device menu and click Rename. In the dossier, it is the pencil next to the name. Only the Admin renames.

Rename device modal with the IP, the manufacturer and the reported name, the Name field and the Cancel and Save buttons

  1. Type the name in the Name field, with up to 64 characters, for example Head office firewall.
  2. Click Save. The screen confirms with Device renamed.

To go back to the original name, leave the field blank and save: the screen confirms with Name cleared., and the column shows the name reported by the device or the IP again. The IP and the serial stay visible.

In the dossier, the window is the same, without the line with the IP and the manufacturer.

Rename device modal opened from the source dossier

Connect a firewall or switch: add a device

In Security → Log sources, click Add device, or open Administration → Clients & Hubs, Security tab, and choose Receive logs from devices. The configuration is done once, on the device itself: the platform builds the snippet, and you paste it.

Clients & Hubs screen, Security tab, with Receive logs from devices selected, the Hub requirements, the steps and the vendor command

In short:

  1. Have a Hub. The Hub machine must run Linux, stay always on, have a fixed IP and be on a network the device can reach (the screen lists this under What the Hub machine needs).
  2. Pick the Hub and the vendor in Step 2, and copy the configuration.
  3. Paste it on the device, replacing the highlighted values.
  4. Check: within about 2 minutes, the device shows up in Log sources.

Only the Admin generates the Hub command. Generate command is for installing or updating the Hub: the vendors' configuration snippet does not depend on it.

Two different names in the wizard

Step 3 calls this screen Log Management, with the Open Log Management button, and calls the alerts screen Security Events. They are the same Log sources and Security alerts from the menu.

Step 1: install or reuse the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices scenario, the first step depends on whether you already have a Hub.

  • Without a Hub, it is called Step 1: Install the Hub, with the command to run as root on the machine. The walkthrough is in Install the security Hub.
  • With a Hub, it comes as Step 1: Hub (already installed) and lists your Hubs. For the network one of them already serves, do not install another: go straight to Step 2.

Step 1: Hub already installed, with the existing Hubs and the options to update and to install another Hub

Opening Step 1, there are two options:

  • Need to update this Hub to the latest version?: the command runs on the Hub itself, as root. It updates in place and keeps the Hub's registration on the platform.
  • Segregated network? Install another Hub: each isolated network has its own Hub. The command is for a new machine on that network.

Step 1 open on the option to update the Hub, with the command hidden until generated

Step 2: point the device at the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices scenario, Step 2 builds the configuration.

  1. In Hub that receives the logs, pick the Hub. If the machine is not on the list, use Other IP... and type the address.
  2. Pick the vendor.
  3. Click the copy button and paste it on the device.

Hub that receives the logs selector open, with the Hubs by IP and the Other IP option

Field to type the IP after choosing Other IP

Vendor list open: Fortinet FortiGate, Cisco ASA, Cisco IOS, pfSense, Palo Alto, Sophos, MikroTik, UniFi, Linux and Other

Next to the vendor, two badges say what to expect:

  • Generates events or Count only for now: whether that vendor's lines become events.
  • Volume: low, medium, high or very high: how much this configuration weighs on the Hub.

The IP of the chosen Hub is already in the text. The other highlighted values are yours, and the screen writes them in Portuguese:

Value Replace with
<IP_DO_HUB> (Hub IP) The Hub IP. It only appears while the IP is not set, for example with Other IP... and the field empty.
<IP_DA_LAN> (LAN IP) The IP of the device interface that reaches the Hub. It becomes the source of the messages and has to be accepted by the Hub.
<INTERFACE_LAN> (LAN interface) The interface that reaches the Hub.
<ID_DA_POLITICA> (policy ID) The number of the firewall policy you want to protect.

Below the snippet, What becomes an event lists what that vendor generates, and Good to know brings the precautions. Prefer UDP 514. The Hub also listens on 514/TCP for devices that require it, never for Cisco ASA.

Configure FortiGate to send logs: the command builder

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Fortinet FortiGate (FortiOS 7). On FortiGate, the configuration is not a fixed block: you select what you want to see, and the command builds itself on the right. This choice decides what shows up in the Threat view and how much volume goes to the Hub.

FortiGate builder on the Recommended shortcut, with the traffic and security items on the left, the command on the right and the What becomes an event and Good to know notes

Start with one of the three shortcuts:

Shortcut What it selects Volume When to use it
Recommended Everything except Allowed traffic. High The starting point: it is what makes the Threat view complete.
Threats only Only the Security group. Low A tight link, or when only IPS, sites, applications and VPN matter. Inbound and outbound blocks do not show up.
Complete Everything, with Allowed traffic. Very high One-off investigation. The screen does not recommend leaving it like this.

Builder on the Threats only shortcut, with the three traffic items off and the low Volume badge

Builder on the Complete shortcut, with all items on and the very high Volume badge

Each item says where the data shows up on the platform and what it needs on the firewall:

Item Volume Where it shows up What it needs on the policy
Inbound from the internet to the firewall High Inbound blocked, on the map and the card. Only access attempts: ping, service ports and scans. Nothing.
Traffic denied by the policies High Outbound blocked, internal machines and the DNS and device insights. Includes the implicit deny. Nothing.
Allowed traffic Very high Only for investigation. Multiplies the volume by 10 or more. The screen does not recommend turning it on.
Blocked attacks (IPS) Low IPS signatures and the threats on the map. IPS profile with logging. To see attacks against published servers, on their inbound policy.
Blocked sites and applications Low Sites, Applications and the risky category insight. Web filter and application control profiles with logging.
VPN and administration Low VPN logins and administrative changes. Nothing.
Antivirus Low Events. Antivirus profile with logging.

The security items depend on the firewall policy

Selecting Blocked attacks (IPS) is not enough: IPS only generates logs if the policy has the IPS profile with logging. That is why the builder also brings the On the policy you want to protect snippet. Without it, the item stays empty, and that does not mean there was no attack.

Hover over an item to see, highlighted in the command, the lines it turns on.

Builder with the Traffic denied by the policies item in focus and the matching lines highlighted in the command

The command for the Recommended shortcut goes out over UDP 514 on syslogd2. Always copy it from the screen, which already comes with your choices: the example below is only for understanding the lines.

See the Recommended shortcut command and the policy snippet
config log syslogd2 setting
    set status enable
    set server "<IP_DO_HUB>"
    set mode udp
    set port 514
    set facility local7
    set format default
    set source-ip <IP_DA_LAN>
end
config log syslogd2 filter
    set severity information
    set forward-traffic enable
    set local-traffic enable
    set multicast-traffic disable
    set sniffer-traffic disable
    set anomaly enable
    config free-style
        edit 1
            set category traffic
            set filter "action deny"
            set filter-type include
        next
        edit 2
            set category app-ctrl
            set filter "action pass"
            set filter-type exclude
        next
    end
end
config log setting
    set fwpolicy-implicit-log enable
    set local-in-deny-unicast enable
end

And the snippet for the policy, replacing the ID and the profiles with the ones on your device:

config firewall policy
    edit <ID_DA_POLITICA>
        set utm-status enable
        set ips-sensor "default"
        set webfilter-profile "default"
        set application-list "default"
        set av-profile "default"
        set logtraffic utm
    next
end

What is worth knowing about these lines:

  • The format stays on default. CEF, CSV and RFC 5424 are only counted, not turned into events.
  • The action deny filter sends only denied traffic. Removing this filter also sends allowed traffic and multiplies the volume by 10 or more.
  • The second filter drops the application control pass, because the Threat view only uses the blocks.
  • local-traffic and local-in-deny-unicast do not change any blocking rule: they only record the internet connections the device already refuses on its own interfaces.
  • Version: the free-style filter exists since FortiOS 7.0. Without it, keep Log Allowed Traffic on Security Events in the policies, never on All Sessions.

Two controls below the items adjust the command:

  • Device with VDOMs: in multi-VDOM, the commands run inside config global.
  • Use the first slot (syslogd): the default is syslogd2, so syslogd is left alone if it already points somewhere else. If the first slot is free, both work the same way.

To change what a connected FortiGate sends, use Reconfigure collection, in the dossier.

Send syslog from Cisco ASA to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Cisco ASA. The screen builds the command.

Cisco ASA snippet with the command, What becomes an event and Good to know

  • Becomes an event: blocked traffic (106023), including repeated blocks from the same source, AnyConnect VPN sessions and, with the optional lines, administrative login and executed commands.
  • Never use TCP. With the factory default, if the TCP syslog server goes down, the ASA blocks all new connections (unless logging permit-hostdown is set).
  • Keep logging trap warnings. Raising it to informational multiplies the volume by 10 or more.
  • Keep logging timestamp and logging device-id hostname, which are the header the analysis center expects, and do not use format emblem.
  • Replace <INTERFACE_LAN> with the nameif of the interface that reaches the Hub, usually inside.

Send syslog from Cisco IOS and IOS-XE to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Cisco IOS / IOS-XE (routers and switches).

Cisco IOS snippet with the command, What becomes an event and Good to know

  • Becomes an event: traffic denied by an ACL line with log, configuration changes and failed logins.
  • Required: logging origin-id hostname, no service timestamps log, no service sequence-numbers and no logging message-counter syslog, because the analysis center reads the lines in that format.
  • Add log only to deny lines. The device summarizes ACL logs by itself, and log on permit lines multiplies the volume.
  • Busy router: if interface up and down lines weigh too much, use logging trap notifications to keep only configuration changes and failed logins.
  • Replace <INTERFACE_LAN> with the interface whose IP reaches the Hub, for example Vlan10.

Send syslog from pfSense to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose pfSense. Here the screen brings the steps to follow in the pfSense panel, in Status > System Logs > Settings.

pfSense steps, What becomes an event and Good to know

  • Becomes an event: blocked traffic (filterlog block), repeated blocks from the same source and failed SSH logins on the firewall itself.
  • Keep the BSD format. syslog (RFC 5424) is only counted.
  • In Remote Syslog Contents, select Firewall Events and General Authentication Events. Selecting Everything also sends DHCP, DNS and gateway monitor lines, which count against the volume and do not become events.
  • OPNsense uses the same firewall log format. The Good to know note on the screen has the path.

Send syslog from Palo Alto (PAN-OS) to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Palo Alto (PAN-OS). The screen brings the steps: syslog profile, forwarding object, security policy, log settings and Commit.

Palo Alto steps, What becomes an event and Good to know

  • Becomes an event: threats (IPS, antivirus, spyware, URL filtering), blocked traffic, including interzone-default, and system and configuration events.
  • Outgoing interface: syslog goes out through the management interface (MGT) by default. If the Hub is only reachable through a data interface, adjust it in Service Route Configuration.
  • Keep the BSD format, with no Custom Log Format. IETF and CEF are only counted.
  • The (action neq allow) filter keeps the volume low. Forwarding everything on allow rules sends one line per session.
  • Panorama: create the same objects in the template and device group, then push.

Send syslog from Sophos Firewall to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Sophos Firewall (XG/XGS). The screen brings the steps, starting from Log settings.

Sophos steps, What becomes an event and Good to know

  • Becomes an event: blocked traffic, administrative logins, failed logins and configuration changes, IPS, advanced threat protection and antivirus detections, and gateway or link down.
  • Keep Device standard format. Standard syslog protocol and CEF are only counted.
  • Log firewall traffic only on the blocking rules and the default drop rule. On allow rules, it multiplies the volume.
  • There is no source address setting: the firewall sends through the interface that routes to the Hub.
  • The row names in Log settings change slightly between SFOS versions: check on yours.

Send syslog from MikroTik to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose MikroTik (RouterOS 7).

MikroTik snippet with the command, What becomes an event and Good to know

  • Becomes an event: blocked traffic on rules with a drop- prefix, including repeated blocks, administrative login via ssh, winbox or web, and system errors.
  • Only rules with log=yes generate lines. Prefix blocks with drop-. Logging accept rules multiplies the volume.
  • Before pasting, check the set [find ...] lines: they change every drop rule of the chain.
  • The WAN input drop rule is the most useful and also the noisiest, because of internet scans. Watch the volume after enabling it.
  • RouterOS only sends syslog over UDP. Keep the default log format. CEF is only counted.
  • Replace <IP_DA_LAN> with the router IP on the network that reaches the Hub.

Send syslog from Ubiquiti UniFi to the Hub

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Ubiquiti UniFi (UDM/USG). The steps happen in the UniFi Network application, in Remote Logging.

UniFi steps, What becomes an event and Good to know

  • Becomes an event: blocked traffic on rules with Logging on, rejected traffic and repeated blocks from the same source.
  • Only the gateway sends useful lines. Access points and switches send almost nothing.
  • Use Remote Logging. The Activity Logging and Traffic Logging options of UniFi Network 9 use another format, which is counted but does not become events.
  • Menu names change between UniFi Network versions: check on yours.

Send logs from a Linux server with rsyslog

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Linux (rsyslog). This path is for a Linux machine that cannot run the security agent.

Linux snippet with the command, What becomes an event and Good to know

  • Becomes an event: SSH logins (failed password, invalid user, brute force), sudo and su commands, and kernel and service errors, from warning up.
  • If the machine already has the security agent, do not send syslog: the agent already reads these logs, and they would be duplicated.
  • Requires rsyslog. Debian, Ubuntu, RHEL, Rocky, Alma and SUSE ship it. Systems with journald only need to install it first.
  • UDP keeps no queue: whatever the device sends while the Hub is off or out of reach is not resent. The snippet on the screen explains how to use TCP.

Send syslog from another device: generic syslog

In Administration → Clients & Hubs, Security tab, Receive logs from devices, Step 2, choose Other (generic syslog). Point the device's syslog to the Hub IP, port 514/UDP, as BSD text (RFC 3164), with no CEF, CSV or JSON.

Generic syslog snippet, with the Count only for now badge, What becomes an event and Good to know

Within about 2 minutes, the device shows up on the screen with the line count and the last 3 lines. Events depend on a rule existing for that format:

  • Devices with a known format, such as Check Point, VMware, Proxmox and NAS with rsyslog, may match existing rules, and the screen shows Recognized when that happens.
  • If it does not match, the state stays on Unknown, count only. To ask for the rule, open a ticket with 3 sample lines.
  • Never send debug level: it is counted, costs disk and does not become events.

Step 3: check that the device is sending

In Administration → Clients & Hubs, Security tab, Receive logs from devices, open Step 3: Check reception. Within about 2 minutes, the device shows up in Log sources with its state, line count and sample, and its events appear in Security alerts, with the Origin column.

For a FortiGate, pick the device and see what is arriving for each item of the command. How to read the table is in Check reception.

Step 3 with the device chosen and the Item, Situation and What the platform saw table

Source dossier: everything about a firewall on one screen

In Security → Log sources, click a device row, or use Open device dossier in its menu. The source dossier answers the question "what did this device record in the last few hours?": how much was blocked, where to, by whom, who changed the configuration and what is out of the ordinary.

Top of the source dossier with the device name, the indicators, the Events over time chart and the top 10s

The source dossier is not the Asset dossier

The source dossier is about a device without an agent, and it talks about logs. The Asset dossier is about a host protected by the agent, with risk score, vulnerabilities and posture. The Hub has an Asset dossier, because it runs an agent: the View asset link goes there.

Dossier header and the period and noise controls

In the source dossier, in Security → Log sources, the header brings the name, the serial, the manufacturer, the IP, Received by with the Hub and its state, Last log X ago, the lines per minute and the device state. The pencil, only for the Admin, opens Rename.

Technical details, also only for the Admin, opens Source ID, Hub agent, Origin IP and Serial number.

Dossier header with Technical details open

Three controls on the right apply to the whole page:

Control Options What it is for
Period Last 1 hour (default), Last 6 hours, Last 24h This screen goes up to 24 hours. To look further back, use the Threat view.
Noise Hide known noise (default), Show known noise Known noise is repetitive traffic already classified, such as Windows delivery optimization between LANs. Show known noise applies to the 1 hour period.
View records Opens the Logs screen with the same range.

Dossier indicators: the five 10-second questions

In the source dossier, in Security → Log sources, the five cards answer what you would ask first. They always show the whole device in the period: search filters do not change these numbers.

The five dossier indicators

Card What it counts A click does
Device status The device state and Last log X ago. Not clickable.
Administrative changes and logins Administrator changes and logins in the period, with the latest below. Opens the Device administration tab.
Blocked to public destinations Blocks to the internet, with the number of countries. Scrolls to Destination countries.
Blocked, excluding known noise All blocks without the noise. The bar shows the noise share. Filters the screen by those blocks.
Volume vs. usual Lines per minute and the deviation from normal, plus the spikes. During the first 8 days, while the platform learns the device's pace, it shows Learning the pattern. Scrolls to the chart.

Events over time chart

In the source dossier, in Security → Log sources, the Events over time chart shows when events happened. A step at a specific time is the best starting point for an investigation.

  • By category separates Known noise, Internal, other, Public destination and Administrative.
  • By action separates by the firewall action, such as Denied.

Events over time chart in the By action view

When there is a reference, a dashed line shows the Same window last week. The two buttons in the corner download the image and enlarge the chart, and the enlarged window has the Legend as table option.

Chart enlarged in its own window

Enlarged chart with Legend as table selected

Top 10: machines, users, destinations, services, interfaces and countries

In the source dossier, in Security → Log sources, six lists show who appears most in the period: Top source machines, Users (source), Top destinations, Services, Interfaces and Destination countries.

The six top 10 blocks of the dossier

Click a row to filter the screen by that value. The footer of each list says how many were left out, in N in other values. Not inventoried, next to a machine, means that IP is not known in the platform inventory, so there is no asset to open.

A reading example: Interfaces shows inbound and outbound as lan-01 → lan-02. If almost all the blocking is between two LANs, the subject is probably internal configuration, not an attack from outside.

Out of the ordinary: unusual services and sensitive ports in 24 hours

In the source dossier, in Security → Log sources, click Check the last 24 h in the Out of the ordinary block. It is an on-demand check, always over 24 hours, regardless of the period chosen at the top. After the first check, the button becomes Refresh.

Out of the ordinary block with sensitive ports and counts

It looks for what should not be part of a firewall's daily routine:

  • Sensitive ports: Telnet, Tor default port, common backdoor port, IRC and Finger.
  • Traffic between segments: file sharing (SMB) and remote desktop between segments.
  • New service: a service that did not appear before. During the first 8 days, while the platform learns the device's pattern, the check shows only sensitive ports and says so.

Finding something here does not prove an attack. Telnet between two internal networks may be an old device nobody remembered to replace. It is worth checking who it is.

Traffic tab: grouped patterns and events one by one

In the source dossier, in Security → Log sources, the Traffic tab lists what the firewall recorded, in two views:

  • Grouped joins equal events into patterns, the most frequent first. It is where to start: 20,000 identical blocks are one issue.
  • Events lists them one by one, including known noise.

Traffic tab in the Grouped view, with search, available fields, columns and the patterns table

Traffic tab in the Events view

Column in Grouped Column in Events Content
Last occurrence When Date and time.
Source machine Source machine Host or IP, with Not inventoried or the link to the asset.
User (source) User (source) The user, when the firewall reports it.
Destination Destination IP and country.
Service Service The service. The port shows on hover.
Interface Interface Inbound → outbound.
Action Action Denied, Allowed and others.
Policy Policy Policy number. Implicit deny is policy 0: no policy matched, and the firewall denied by default.
Occurrences How many times the pattern happened.
First occurrence Date and time.
Trend Mini chart of the pattern in the period.
Event Description of the event.
Actions Actions Three-dot menu.

Columns shows and hides columns, with the Default, Firewall and Investigation presets. Export generates a CSV of what is on the screen.

Columns menu open, with the columns and the Default, Firewall and Investigation presets

In the Grouped view, clicking the row opens the occurrences of that pattern. The three-dot menu changes with the view:

Item View What it does
Filter by this pattern Grouped Applies the pattern's values as filters.
View occurrences Grouped Opens the events of that pattern.
Hide this pattern Grouped Hides the row only for the browser session, to clean up the list while you investigate. Show hidden patterns brings it back.
Filter by this machine Events Filters by the source machine.
View records Events Opens the Logs screen.
View machine in Asset 360 Both Opens the Asset dossier. It only appears when that machine has an asset.
View this machine's events Both Opens the machine's events in Security alerts.

Row menu in the Grouped view

Row menu in the Events view

In the source dossier, in Security → Log sources, Traffic tab, the search uses field:value, always with an exact value. Type, for example, service:SNMP and click Apply. The search is always by field. If you type only text, the screen reminds you of the format with Use field:value, for example service:SNMP.

Search with free text and the message asking for field:value

The available fields appear below the search: service, srcip, dstip, srcintf, dstintf, policy, action, user and country. More fields adds others, such as port, srccountry and device.

Field list with More fields open

The ? in the field opens How to search, with the operators:

Operator What it does
field:value Equal to the value.
field != value, -field:value or NOT field:value Different from the value. Also brings whatever does not have the field.
field:a OR field:b One or the other.
field:a,b Any of the values in the list. With -field:a,b or field != a,b, none of them.
field:* Field filled in.
-field:* Field empty.
field:"a b" Value with a space, comma or parentheses.
a:1 b:2 Terms separated by a space all apply together.

Examples: service != SNMP brings all services except SNMP, action:deny country:China,Russia brings denied traffic to China or Russia, and -user:* brings what came without a user.

How to search help open, with the operators and the examples

Each filter becomes a tag below the search, and applies to the chart, the top 10s and the list. The indicators do not change, because they always show the whole device.

Filter applied as a tag below the search, with Clear all

Outside the Traffic tab, a bar at the top reminds you that a filter is active, with Show filters and Clear all.

Bar at the top of the dossier warning that a filter is active, with Show filters and Clear all

Device administration tab: who changed the firewall

In the source dossier, in Security → Log sources, the Device administration tab answers the question "who logged in to the firewall and what changed?". It lists logins, logouts and configuration changes, so you can check a change nobody agreed on. The tab only exists on firewalls.

On a FortiGate, the tab opens with the Check reception block at the top, and the administrative events table comes right below it.

Device administration tab with Check reception and the administrative events table

Column Content
When Date and time.
Administrator Device user.
From Source IP.
Profile Administrator profile and the interface used.
Action login, logout, Edit, Add, Delete.
Object Path and configuration object.
Event The event description from the analysis center.
Detail What the device recorded: the changed attributes or the message.
Actions Menu with View records, which opens the Logs screen.

Above the table are the search, Update, Columns, Export and Total.

Row menu on the administrative events table, with View records

Check reception: what the FortiGate is sending, item by item

In a FortiGate's dossier, in Security → Log sources, Device administration tab, the Check reception block answers the question "is what I configured arriving?". The same block appears in Step 3 of the wizard. For each item of the builder, it shows what the platform saw in the last 15 minutes and in 7 days, and says what to check when something is missing.

Check reception block with the seven items, the situation of each one and what the platform saw

Situation What it means
Arriving Arrived in the last 15 minutes.
Arrived in 7 days Nothing now, but it arrived during the week. Normal for a low volume item.
Outbound only IPS with outbound attacks only: none inbound in 7 days. Check the IPS profile on the policy of the published servers.
Nothing yet Nothing arrived. The What the platform saw column says what to check on the device.
Nothing in 7 days May be normal: nobody used the VPN, or the antivirus detected nothing. Without the antivirus profile with logging on the policy, this item never shows up.
Not sent Allowed traffic off: it is the normal state of the recommended command.
Not selected The item is unselected in the builder.

The 7-day traffic number shows up when the Threat view is on for the device.

Reconfigure collection, only for the Admin, opens the builder with the Recommended shortcut selected, plus whatever already arrives beyond it. It never unselects an item that did not arrive, because the new command replaces the device's whole filter. Adjust the items, copy the new command and paste it on the device: the platform does not change anything on the firewall by itself.

Builder opened by Reconfigure collection, with the Recommended shortcut selected

Threats tab of the dossier: turn on the Threat view on a firewall

In the source dossier, in Security → Log sources, the Threats tab is the Threat view tied to this device, with its own period, as This tab has its own period. warns. It only exists on firewalls.

Threats tab of the dossier with the Set the device location strip and the live map

Threats tab on the Insights sub-tab, with the This tab has its own period notice next to the period

With the view off, the tab shows Threat view is off for this device. The Admin clicks Turn on threat view, which turns it on right away, and the Threats item starts to appear in the Security menu.

Threats tab with the view off and the Turn on threat view button

Anyone who is not an Admin sees Ask an administrator to turn it on.

Threats tab with the view off and the text Ask an administrator to turn it on

How to turn it on, where to set the location and what the view shows are in Threat view.

Sample of received lines tab

In the source dossier, in Security → Log sources, the Sample of received lines tab shows up to 3 lines from this device, as the Hub keeps them. They are not necessarily the lines that did not become events.

Sample of received lines tab with three log lines and the explanatory note

In the 24 hour period, the tab also counts the Received lines that did not become events. In another period, click 24 h to see how many lines did not become events. That number includes traffic that was recognized but not recorded as an event, and lines in a format the analysis center did not recognize.

When the source dossier shows a notice

In the source dossier, in Security → Log sources, these notices may appear:

Situation What appears What to do
The link points to a source that no longer exists Log source not found, with Back to Log sources. Go back to the list.
No events in the period No events from this device in the period. Last log received: and the date. Increase the period. If the device stopped sending, see The device does not appear or does not generate events.
Period with too much volume This period has a lot of volume., with shortcuts to a shorter period. Click the shortcut.
Device that is not a firewall No Device administration and Threats tabs. Nothing: those tabs are only for firewalls.
See the screen for each notice

Dossier with no events in the period, with the message and the last log received

Dossier with only the Traffic and Sample of received lines tabs, without Device administration and Threats, as it looks on a device that is not a firewall

Log source not found screen with the Back to Log sources link

When the Log sources screen shows a message

In Security → Log sources, the screen says what is missing when it has nothing to show:

Situation What appears What to do
No Hub and no source No Hub yet, with Set up log reception. Anyone who is not an Admin sees Ask an administrator to set this up. Install a Hub.
Hub up, and no line arrived Point the first device, with port 514/UDP and the 2 minute window. Anyone who is not an Admin sees Ask an administrator to set this up. Point the device.
Search or filter with no result No device matches the search or the filter. Change the search or clear the filter.
The plan does not include the feature This feature is not part of your plan Contact your account team.
The security module is not enabled Security module is not enabled Contact your account team.

Without the feature in the plan, the Log sources item disappears from the menu: the This feature is not part of your plan message shows up for anyone who opens the screen through a direct link.

See the screen for each message

Screen with No Hub yet and the Set up log reception button

Hub in the table and, below it, Point the first device

Search with no result in the sources table

Screen with This feature is not part of your plan

Screen with Security module is not enabled

The device does not appear or does not generate events: what to check

You pointed the firewall, and Security → Log sources does not show what you expected? Start with the symptom:

What you see What to check
The device does not appear after 2 minutes The Hub IP and port 514/UDP in the device configuration, and the network firewall between them. The Hub only accepts syslog from the private subnets attached to the machine: for a device on another network, see Receive firewall and switch logs on the Hub.
Waiting for the first line for more than 2 minutes The Hub service, with How to check the Hub service.
Unknown, count only The format. Compare the sample with the vendor's Good to know note: CEF, CSV and RFC 5424 are usually only counted. For a vendor without a rule, open a ticket with 3 sample lines.
Recognized, no events in the period If the device only had allowed traffic, it is normal. On a FortiGate, Check reception says item by item what is missing.
The security items do not arrive, but the rest does The IPS, web filter or antivirus profile with logging on the firewall policy.
High volume (dropping) What the device sends. Allowed traffic and log on allow rules usually multiply the volume by 10 or more.
Silent for The device and the network to the Hub. If it is quiet on purpose, mark Expected low volume.

What the Log sources screen does not do

  • It does not touch the device. The platform builds the configuration, but you are the one who pastes it. No screen here blocks anything on the firewall.
  • It does not keep the full line. What stays is the recognized events and the sample of up to 3 lines.
  • The dossier goes up to 24 hours. For longer periods, use the Threat view, which keeps up to 90 days.
  • Not every log becomes an event. A vendor without a rule stays on Count only.
  • Check reception is only for FortiGate. On other vendors, follow the Events 24 h column and the sample.
  • It depends on the plan. Without the security events feature, the item disappears from the menu, and being an Admin does not override that. Opened through a direct link, the screen says This feature is not part of your plan.

Who sees what

Operation Admin User Viewer
View Log sources, the Hubs and the source dossier Yes Yes Yes
Rename a device Yes No No
Mark Expected low volume Yes No No
Turn the threat view on or off on a device Yes No No
View Technical details in the dossier and use Reconfigure collection Yes No No
Open Clients & Hubs, where a device gets connected Yes No, goes back to the dashboard Yes, without generating a command
See Add device and, in the Hub menu, Point a device at this Hub and Update Hub Yes No No
Generate command for the Hub Yes No No

Anyone who cannot rename, mark or turn on does not see the button.

Next steps

  • Threat view


    What comes out of these logs: the live map, the Replay of the day or the week and the explained insights.

    Open Threat view

  • Install the agent


    How to install the Hub on your network, and what to allow on the firewall.

    Install the Hub

  • Security alerts


    The events these devices generate, with the origin column and the original log.

    Open Security alerts

  • How it works


    The path of the data, and what Hub, log source and analysis center are.

    See How it works