Logstash output field order

first of all. I run a kfk.conf which I defined to read json file and output to kafka topic.
when I run the kfk.conf , the output order is [ "name" : "lili", "sex":"w", "age":"20"].
then I kill the process. Rerun it , the output order is [ "age":"20","name" : "lili", "sex":"w"].
Oh, my God, I want it to run in the same order all the time.
Who can tell me what I should do?

1 Like

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