Skip to content

Commit

Permalink
Use ECS fields in Kafka output examples (#15867)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Jan 28, 2020
1 parent 095c60e commit dd7be62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libbeat/outputs/kafka/docs/kafka.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ the specified string:
------------------------------------------------------------------------------
output.kafka:
hosts: ["localhost:9092"]
topic: "logs-%{[beat.version]}"
topic: "logs-%{[agent.version]}"
topics:
- topic: "critical-%{[beat.version]}"
- topic: "critical-%{[agent.version]}"
when.contains:
message: "CRITICAL"
- topic: "error-%{[beat.version]}"
- topic: "error-%{[agent.version]}"
when.contains:
message: "ERR"
------------------------------------------------------------------------------
Expand Down

0 comments on commit dd7be62

Please sign in to comment.