{% extends "siem/base.html" %} {% block sub-title %}Event Documentation | {% endblock %} {% block content-main %}

Event Documentation


Anatomy of a Log Event

Log events have the following attributes that can be parsed using parser fields:

Attribute
Name
Description
date_stampA string representing the date stamp.
log_sourceThe log source from which the event originated.
facilityThe syslog facility of the event (0-23).
severityThe syslog severity of the event (0-7).
aggregated_eventsThe number of aggregated events represented.
source_hostThe source host (IP, FQDN, etc).
source_portThe source port (i.e. 443, https, smtp, etc).
dest_hostThe destination host.
dest_portThe destination port.
source_processThe source process.
source_pidThe source process ID.
actionThe action being taken.
commandThe command being executed.
protocolThe protocol involved in the event (ssh, https, etc).
packet_countThe number of packets involved (for flows).
byte_countThe number of bytes involved.
tcp_flagsThe TCP flags (an integer).
class_of_serviceThe ToS (type of service) field (an integer).
interfaceThe network interface involved.
statusThe status (interface status, http status code, etc).
start_timeA string representing the start time (for flows, videos, motion sensor events).
durationA string representing the duration.
source_userThe user who initiated the event.
target_userThe user targeted in the event.
sessionidThe session ID of the session involved in the event.
PathThe URI or file path.
ParametersThe parameters (web server logs, etc).
ReferrerThe referrer ( web server logs, etc).
messageThe message conveyed.
ext0A field meant to be defined by the user.
ext1A field meant to be defined by the user.
ext2A field meant to be defined by the user.
ext3A field meant to be defined by the user.
ext4A field meant to be defined by the user.
ext5A field meant to be defined by the user.
ext6A field meant to be defined by the user.
ext7A field meant to be defined by the user.

In addition, log events have the following fields that are not defined by the parser and parse helpers:

Attribute
Name
Description
parsed_atThe time the event was parsed (a datetime object, with 6 decimal places).
time_zoneThe time zone associated with the parsed_at datetime object.
parsed_onThe hostname of the system on which the event was parsed.
source_pathThe full path of the file from which the event originated.
event_typeThe event type defined by the parser configuration.
eol_date_localEvent end-of-life date in the LogESP database.
eol_date_backupEvent end-of-life date for backup copies.
raw_textThe entire raw text of the event.

Anatomy of a Rule Event

Rule events have the following attributes:

Attribute
Name
Description
date_stampA datetime object representing the rule event was created.
time_zoneThe time zone associated with the date_stamp datetime object.
source_ruleThe rule that created the event.
rule_categoryThe rule category of the rule broken.
event_typeThe event type being monitored by the rule.
severityThe severity of the rule.
event_limitThe event limit for the rule.
event_countThe number of events involved.
magnitudeThe magnitude of the rule event.
time_intThe time interval at which the rule is checked.
source_ids_logThe source IDs of the log events involved.
source_ids_ruleThe source IDs of the rule events involved.
log_source_countThe number of different log sources involved.
source_host_countThe number of different source hosts involved.
dest_host_countThe number of different destination hosts involved.
messageThe message conveyed by the rule.
eol_date_localEvent end-of-life date in the LogESP database
eol_date_backupEvent end-of-life date for backup copies

For more on how magnitude is calculated, see the rule documentation.

{% endblock %}