How Can I Log body for UDP log

Hi,

I need capture body and send log to udp and my script in pyspark transform and send to aws kinesis.
I change file basic.lua add ngx.req.read_body and ngx.req.get_body_data, restart kong but body awalys null.
How Can I change basic.lua or udp plugin to send body data ?

Cheares,

Andre

Note, UDP does have its size limitations on a tx.

-Jeremy

I Recived message error in error.log