Shipping Cloud Appliction API Logs using Logsatsh

Hello,

I'm using Cloud Application and now I want to ship its logs using API with Logsatsh. Can someone guide , how can i do that?