Kafka output. How to set a key from message value?

I'm using logstash to ingest data from Redshift table and put into Kafka.
It works great. But how to use input field as Kafka's key?

It seems like it doesnt work. Tried to use message_key, but no way

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.