Hello,
I have a config file with Kafka output like this:
topic_id => "%{product}-%{event_type}"
It work fine and index the log to the corresponding topic, but additionaly it creates a new topic called "%{product}"
with all the logs of that product, regardless the "%{event_type}"
.
For example:
I have this log:
{"product":"foo","event_type":"bar"}
And it goes this topics: foo-bar
and foo
So my question is, how to avoid that the log goes to the topic foo
?
Logstash version: 5.2.1
Regards,
Joaquín Silva