Custom VRL Scripts
Custom VRL scripts per source can be enabled for advanced customization and filtering options.
Last updated
Custom VRL scripts per source can be enabled for advanced customization and filtering options.
Last updated
Enable custom VRL in the advanced options by setting source.custom_vrl to True.
This will provide the following files on the collector which can have custom VRL added to them. These files are not removed or overwritten if source.custom_vrl is disabled or re-enabled:
/etc/collector/vrl/event_beats.vrl
/etc/collector/vrl/event_hypersec.vrl
/etc/collector/vrl/event_netflow.vrl
/etc/collector/vrl/event_nxlog.vrl
/etc/collector/vrl/event_syslog.vrl
The VRL is required to be valid, and if incorrect VRL is inserted the vector instance may fail. The Administrator adding the VRL must ensure it is valid and correct.
Once edited, the Administrator must restart vector to effect the changes in the custom scripts:
systemctl restart vector