The decode_cef
processor decodes Common Event Format (CEF) messages.
Note
|
This processor only works with log inputs. |
In this example, the message
field is decoded as CEF after it is renamed to
event.original
. It is best to rename message
to event.original
because the
decoded CEF data contains its own message
field.
- rename:
fields:
- {from: "message", to: "event.original"}
- decode_cef:
field: event.original
processors.asciidoc :works-with-fields!:
Name | Required | Default | Description |
---|---|---|---|
|
No |
|
Source field containing the CEF message to be parsed. |
|
No |
|
Target field where the parsed CEF object will be written. |
|
No |
|
Whether to generate Elastic Common Schema (ECS) fields from the CEF data. Certain CEF header and extension values will be used to populate ECS fields. |
|
No |
|
IANA time zone name (for example, |
|
No |
|
Whether to ignore errors when the source field is missing. |
|
No |
false |
Whether to ignore failures when the source field does not contain a CEF message. |
|
No |
Identifier for this processor instance. Useful for debugging. |