How to get the json api data into message field in http poller using logsatsh config file

I think you should remove the multiline codec. If the content-type is application/json I believe a json codec will automatically get applied.