Skip to main content

How events are parsed

This page explains how the ThreatVIS Unified Security Operations Platform turns what a data source sends into searchable events, and which settings on a source influence it.

Syslog messages​

For each syslog message the appliance finds the onboarded source that matches the sender, by IP address or, if the source uses Hostname, by the host name in the message header. The source's vendor and product then decide how the message is read.

  1. The built-in parser for the source's vendor and product reads the message and extracts fields such as the user, the source and destination addresses, the action and the outcome. The vendors and products are listed in Built-in parsers and sources. Vendors that send CEF or LEEF messages are read by their own parser.
  2. Parser fallback. If that parser extracts nothing, the appliance tries each vendor and product pair you listed under Parser fallback, in the order shown. The first one that extracts fields wins.
  3. General syslog parsing. If no parser extracts anything, the message is still stored. The appliance reads the standard syslog header (RFC 3164 or RFC 5424) for the time, host name, program and process ID, and keeps the rest as the message. A line that is not valid syslog is stored as text, so that nothing is silently dropped.

Choose the vendor and product that match the device. Choose Parser fallback entries for a device that sends more than one message format.

Fields every event gets​

Whichever parser reads it, an event gets a time stamp, the sender's address and the original message. Source and destination addresses are also labelled internal when they are private addresses and external otherwise. Use Store raw message on the source to choose whether the original message is kept; turn it off to discard it after parsing.

Polled and structured sources​

Records from databases, SFTP files and vendor APIs are not syslog text, so the vendor parsers do not read them. Each record is stored with its own fields: every column of a database row, every field of a document, or one event per line of a file.

NetFlow​

NetFlow version 5 records are converted to network events with source and destination addresses and ports, bytes, packets and protocol. See Collect NetFlow.

Geographic lookup​

Geo Lookup adds country, region and city to the public addresses on an event. It is off by default. To turn it on, select Settings, then Geo Lookup under Enrichment & Context, switch on Enabled and save. Private and other non-public addresses are not looked up, and a location that the source already supplied is not overwritten. Geographic data is provided by DB-IP. Changing the setting needs an Admin or Super Admin account.

Parsing a format that is not listed​

If a device is not in Built-in parsers and sources, or you need extra fields from a known one, write a custom parser. To keep or drop events before they are stored, see Processing rules.

Next steps​