Collect syslog
This page explains how to collect syslog from a device into ThreatVIS Unified Security Operations Platform. Any device or application that can send syslog messages can be onboarded. Events from the vendors in Built-in parsers and sources are parsed into fields, including those vendors' messages in CEF or LEEF format.
Role needed: a user with the Admin or Super Admin account type. A user with a custom role needs Settings access and, under Collection & Automation, Log Onboarding with Set. To read the Pipeline Stats page that shows rejected senders, the role also needs Stats with Read.
How the appliance accepts syslog
The appliance listens for syslog on UDP port 514. See Appliance requirements for the ports to open.
UDP 514 is the supported syslog collection method. The appliance also accepts syslog on TCP port 601 and on TLS port 6514; these cannot be configured from the console. Block them at your network firewall unless ThreatVIS USOP support has set them up for you.
The appliance accepts syslog only from senders you have onboarded. A message from any other sender is rejected before it is stored, and the rejection is counted against the sender. Onboard a device before you point it at the appliance, or its first messages are lost.
Before you begin
- The device must be able to send UDP syslog to the appliance address on port 514.
- You need the device's IP address, or, if the address changes, the host name it writes in its own syslog header.
- Choose the vendor and product that match the device. They decide which parser reads its messages.
Onboard a syslog device
- Select Settings, then Log Onboarding under Collection & Automation.
- Select the + button, then choose
syslogunder Log source type. - Under Vendor list, choose the vendor, then the Product. Some products also ask for a Format or Version.
- Enter the IP of the device, for example
192.0.2.10. To match by host name instead, turn on Hostname; the field is then labelled Hostname. - Optionally open Parser fallback and add vendor and product pairs. See How events are parsed.
- Leave Store raw message on to keep the original message with each event. Turn it off to discard it.
- Enter a Log source name, then select Save.
With Hostname on, the source is matched by the host name the device puts in its own syslog header, ignoring case and a trailing dot, instead of by the sender address. Use it for a device whose address can change but whose name does not. The header must be in the RFC 3164 or RFC 5424 form. A short host name also matches the first label of a fully qualified name, so fw01 matches fw01.example.com.
Confirm that events arrive
-
Point the device at the appliance.
-
Open Log Onboarding. The source moves from Pending to Active when its first event arrives. The status is worked out each time the page loads, so reload it to see the latest.
-
Select Search in the navigation menu, set the time range to Last 15 Minutes, and run a query for the device's address, for example:
source=log_* | where host.ip = '192.0.2.10'For a source matched by host name, use
host.hostname = 'fw01'instead, with the name written exactly as the device writes it. The device's events are listed. Open one with the chevron at the start of its row to check that its fields are filled; missing fields usually mean the wrong vendor or product.
If the source stays Pending, or Search finds nothing, see Events are not arriving.
See rejected senders
- Select Settings, then Pipeline Stats under Health & Diagnostics.
- Read the Unknown sources chart and the Rejected syslog senders table.
The table lists each rejected Sender, the Reason, the number of Messages rejected and when it was Last seen. The Reason is Not onboarded (no onboarded source names the sender), Source disabled or Disk full: collection paused (the appliance has paused collection because its disk is full). To collect a sender's logs, onboard it.