In one of our new projects we are trying to use ELK stack with Redis as the buffering interface. I was going through the documentation and different examples over the internet and saw that at most of the places shipper is pushing the data in JSON format to redis channel/list etc. Even the default value of codec plugin used in input plugin of logstash used for reading the logs from redis is JSON.
My question revolves around is there any specific reason for using JSON as the default data representation for redis and is it easy for logstash to decode the json style log data into events as compared to other codec plugins?
Also, it might not be a best question but just out of curiosity which codec plugin has the best performance at logstash level in terms of input plugin parsing the raw log data and converting it to events?