Skip to content

Events, traffic log, SIEM and enrichment Since v0.2 ​

These settings control what is stored about requests and where it goes. Bounds are in Limits and defaults.

For the structure of the file, see Configuration file. Defaults of limits are also listed in Limits and defaults. A dash in Default means the code sets no default value (the setting is empty or off).

Events ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
eventsobject——Group of settings: events.Logging and masking
events.capture_bodysizethe application's policy.limits.request_bodyup to 64KiBcapture_body is the request body bytes kept per event; 0 keeps none.Logging and masking
events.retentionduration720hup to 26280hevents older than this are deletedLogging and masking
events.max_eventsinteger1000000up to 100000000the oldest events beyond this are deletedLogging and masking
events.max_bytessize2GiB1MiB to 16TiBthe oldest events beyond this total size are deletedLogging and masking

Traffic log ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
trafficobject——Group of settings: traffic.Traffic log
traffic.modestringall—mode selects the requests recorded: all (default), sample (sample_rate percent of them, chosen by request ID) or off.Traffic log
traffic.sample_rateinteger101 to 100sample_rate is the percentage of requests recorded in sample mode (1 to 100).Traffic log
traffic.retentionduration168h—records older than this are deletedTraffic log
traffic.max_recordsinteger50000000up to 1000000000the oldest records beyond this are deletedTraffic log
traffic.max_bytessize5GiB—the oldest records beyond this total size are deletedTraffic log
traffic.bodysize——body is the request body bytes kept per record; 0 keeps none.Traffic log
traffic.response_bodyboolean——response_body asks inspection for every application's response bodies to record them (bounded by the response scope's max_body).Traffic log

SIEM export ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
siemobject——Group of settings: siem.SIEM export
siem.destinations[]list of object——Group of settings: destinations.SIEM export
siem.destinations[].namestring——The name that identifies this entry.SIEM export
siem.destinations[].addressstring——host:portSIEM export
siem.destinations[].transportstring——tls (default), tcp or udpSIEM export
siem.destinations[].formatstring——json (default), cef or leef.SIEM export
siem.destinations[].streamslist of stringboth—security, audit (default: both)SIEM export
siem.destinations[].applicationslist of string——security events of these applications only; empty: allSIEM export
siem.destinations[].actionslist of string——security events with these actions only (block, log, ...); empty: allSIEM export
siem.destinations[].facilitystring——Syslog facility: local0 (default) to local7, user or daemon.SIEM export
siem.destinations[].tlsobject——Group of settings: tls.SIEM export
siem.destinations[].tls.castring——PEM CA bundle; empty: the system's rootsSIEM export
siem.destinations[].tls.server_namestring——empty: the host of addressSIEM export
siem.destinations[].tls.certstring——client certificate (mutual TLS), with keySIEM export
siem.destinations[].tls.keystring——Name or path of the key.SIEM export
siem.destinations[].include_captureboolean——include_capture adds each security event's captured request and trace to its message (json format; still fitted to the message size limit).SIEM export

Enrichment ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
enrichmentobject——Enrichment added to events and traffic records when they are stored.Fingerprints and enrichment
enrichment.enabledboolean——On unless set to false.Fingerprints and enrichment
enrichment.city_databasestring——MMDB city database; empty: noneFingerprints and enrichment
enrichment.asn_databasestring——MMDB ASN database; empty: noneFingerprints and enrichment

Example ​

yaml
events:
  retention: 720h
  max_events: 1000000
traffic:
  mode: sample
  sample_rate: 10
  retention: 168h