Skip to content

Commit

Permalink
Remove key:value spaces from Kafka processors doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kilfoyle authored Mar 14, 2024
1 parent 36329bb commit b44d6b8
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ As an example for setting up your processors, you might want to route log events

Then, create a processor to route critical events:

* Condition: `Contains`
* Value: `message: “CRITICAL”`
* Topic: `critical-%{[agent.version]}`
* Condition:`Contains`
* Value:`message: “CRITICAL”`
* Topic:`critical-%{[agent.version]}`

And create another processor to route error events:

* Condition: `Contains`
* Value: `message: “ERR”`
* Topic: `error-%{[agent.version]}`
* Condition:`Contains`
* Value:`message: “ERR”`
* Topic:`error-%{[agent.version]}`

All non-critical and non-error events will then route to the default `%{[fields.log_topic]}` topic.

Expand Down

0 comments on commit b44d6b8

Please sign in to comment.