Open consulthys opened 7 years ago
@guyboertje what about this one?
@consulthys I would need to get a second opinion. /cc @suyograo
We would also like to have this one, as of now all logs have the same TimeStamp in kafka which is CreateTime irrespective of each record having its own @timestamp field.
The missing functionality as described here is still missing from the plugin, right? Is there a chance for it to still be solved inside this repository? Else, I would open a new issue here https://github.com/logstash-plugins/logstash-integration-kafka
@John-Athan Have you opened the issue?
@0x1346614 no, sorry, the topic got less relevant for us.
Since Kafka 0.10.0.0, it is now possible to include a timestamp in Kafka records.
It would be great if it was possible to also specify this in the kafka output plugin with the
message_timestamp
setting (e.g.). The value of that setting could either be:"@timestamp"
) whose value can be resolved to a long value"%{second_timestamp}000"
) whose interpolated value can be resolved to a long valueA sample configuration would look like this:
The record would then need to be created using the full-fledge
ProducerRecord
constructor: