Record Modifier
The Record Modifier Filter plugin allows to append fields or to exclude specific fields.
Configuration Parameters
The plugin supports the following configuration parameters: Remove_key and Whitelist_key are exclusive.
Getting Started
In order to start filtering records, you can run the filter from the command line or through the configuration file.
This is a sample in_mem record to filter.
The following configuration file is to append product name and hostname (via environment variable) to record.
You can also run the filter from command line.
The output will be
Remove fields with Remove_key
The following configuration file is to remove 'Swap.*' fields.
You can also run the filter from command line.
The output will be
Remove fields with Whitelist_key
The following configuration file is to remain 'Mem.*' fields.
You can also run the filter from command line.
The output will be