Flume ships with a set of existing interceptors. Following are the interceptors that ship with Flume release
- Timestamp Interceptor
- Host Interceptor
- Static Interceptor
- UUID Interceptor
- Morpline Interceptor
- Regex Filtering Interceptor
- Regex Extractor Interceptor
Let’s look at them briefly
Inserts the timestamp header in the Event, representing the time at which Event was processed.
Inserts the hostname header in the Event, representing the host where the Agent, that processed the Event, was running
Inserts a Static header in the Event
Inserts an id header to the Event, with value a UUID
This Interceptor, filters/transforms Events based on Cloudera Morphlines
Filters Events based on the regular expression provided, by matching with Event body. Event body payload is treated as text.
This Interceptor extracts the matched group, as specified by the regular expression and adds it to the header.