This module amends flow records with resolved fields.
This module expects flow records in Unirec format. The required fields are determined by run time parameters.
Flows are sent on the output interface, also in Unirec format, they contain all the fields of the input interface plus the configured resolved fields from the resolvspec parameter.
These resolutions are available:
- dns_ptr: ip address (ipaddr) -> domain name (string)
- dns_a: domain name (string) -> ip address (ipaddr)
- dns_aaaa: domain name (string) -> ip address (ipaddr)
- ent_services: port (uint16)/protocol (uint8) -> service name (string)
In addition to the implicit libtrap parameters -i IFC_SPEC
, -h
and -v
(see Execute a
module) this
module takes the following parameters:
-
-u
--urformat
urformat Specify unirec input format. -
-r
--resolvspec
infield[/infield] resolution outfield Specify field(s), what lookup to do of it/them and where to put the result.
For more detailed information see above under available resolutions.
All fields specified as infields in resolvspec parameters must be supplied in the urformat parameter for this module to start. Note though that the downstream module will fail if it requires non resolved fields you do not specify in the uformat parameter.