Step 1 - Setup log drain

Create the log drain service in Cloud Foundry.

cf cups logit-ssl-drain -l syslog-tls://your-logstash-host:your-port
Step 2 - Bind the service

Create the log drain service in Cloud Foundry.

cf bind-service YOUR-CF-APP-NAME logit-ssl-drain
Step 3 - Restage or push the service
cf restage YOUR-CF-APP-NAME

OR

cf push YOUR-CF-APP-NAME

For more information see the cloud foundry documentation: Log Streaming

Ready to get going?

Try our 14 day free trial

No commitment and no catches

Create Free Trial