Skip to content

Support for wildcard topic_key #430

@brsolomon-deloitte

Description

@brsolomon-deloitte

Is your feature request related to a problem? Please describe.

If I have a wildcard <match zeek.**> for @type kafka2, it would be great to have a way for topic_key to simply mirror the actual topic that is picked up.

Describe the solution you'd like

<match zeek.**>
  @type kafka2

...

  # write events to this kafka topic
  topic_key TODO # < HERE
  <buffer TODO>
    @type file
    path /var/log/td-agent/buffer/td
    flush_interval 10s
  </buffer>
  default_topic TODO

</match>

Describe alternatives you've considered

none

Additional context

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions