filter_grep
is a built-in plugin that allows to filter the data stream using regular expressions.filter_record_transformer
is a built-in plugin that enables it to inject arbitrary data into events.${hostname}
is a predefined variable supplied by the plugin. You can also define a custom variable, or even evaluate arbitrary ruby expressions. For more details, see record_transformer
.