Snort module
editSnort module
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
This is a module for receiving Snort/Sourcefire logs over Syslog or a file.
Read the quick start to learn how to configure and run modules.
Configure the module
editYou can further refine the behavior of the {modulename}
module by specifying
variable settings in the
modules.d/{modulename}.yml
file, or overriding settings at the command line.
You must enable at least one fileset in the module. Filesets are disabled by default.
Variable settings
editEach fileset has separate variable settings for configuring the behavior of the
module. If you don’t specify variable settings, the {modulename}
module uses
the defaults.
For advanced use cases, you can also override input settings. See Override input settings.
When you specify a setting at the command line, remember to prefix the
setting with the module name, for example, {modulename}.log.var.paths
instead of log.var.paths
.
log
fileset settings
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
This was converted from RSA NetWitness log parser XML "snort" device revision 134.
-
var.input
-
The input from which messages are read. One of
file
,tcp
orudp
. Defaults toudp
. -
var.syslog_host
-
The address to listen to UDP or TCP based syslog traffic.
Defaults to
localhost
. Set to0.0.0.0
to bind to all available interfaces. -
var.syslog_port
-
The port to listen for syslog traffic. Defaults to
9532
Ports below 1024 require Filebeat to run as root.
-
var.tz_offset
-
By default, datetimes in the logs will be interpreted as relative to
the timezone configured in the host where Filebeat is running. If ingesting
logs from a host on a different timezone, use this field to set the timezone
offset so that datetimes are correctly parsed. Valid values are in the form
±HH:mm, for example,
-07:00
forUTC-7
. -
var.rsa_fields
-
Flag to control the addition of non-ECS fields to the event. Defaults to true,
which causes both ECS and custom fields under
rsa
to be added. -
var.keep_raw_fields
-
Flag to control the addition of the raw parser fields to the event. This fields
will be found under
rsa.raw
. The default is false.
Fields
editFor a description of each field in the module, see the exported fields section.