How to change output data format in winlogbeat as influx

unable to change output data format as influx . currently getting alert in json format on kafka server ..please provide suggestions