Grep
The plugin supports the following configuration parameters:
Record Accessor Enabled
This plugin enables the Record Accessor feature to specify the KEY. Using the record accessor is suggested if you want to match values against nested values.
The following command will load the tail plugin and read the content of file. Then the grep filter will apply a regular expression rule over the log field (created by tail plugin) and only pass the records which field value starts with aa:
If you want to match or exclude records based on nested values, you can use a format as the KEY name. Consider the following record example:
if you want to exclude records that match given nested field (for example ), you can use the following rule: