Skip to content

CEF message is always in 'raw' field #8

Description

@ualser

I am new to fluentd configuration. I have spent quite some time now get this going. My goal is to parse following CEF into separate fields as json. Message always ends up in 'raw' field. As I understand it is a default behavior when message is not parsed due to some error. In the end I need all fields like agentID as key value pairs in json. Please assist.

My CEF example:
CEF:0|TEST|HTTPTransactionHandler|ololo|Event Driven|Web Request|2|eventTime=2025-03-29T09:17:12.660 agentId="TEST" eventTraceId="test" eventSpanId="test"

My config example:

<source>
  @type udp
  port 5140
  message_length_limit 10000
  tag waf
  format cef
</source>

<match **>
  @type  stdout
  <format>
    @type json
  </format>
</match>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions