Get a DemoStart Free TrialSign In

Cloud Foundry

Ship logs from Cloud Foundry to logstash

Get started with Cloud Foundry log drain monitoring by following our configuration guide below and start sending logs to Logstash & Elasticsearch.

Send Your DataLogsPlatformsCloud Foundry Guide

Follow this step by step guide to get 'logs' from your system to Logit.io:

Step 1 - Setup Log Drain

Create the log drain service in Cloud Foundry.

cf cups logit-drain -l syslog://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-drain

Step 3 - Restage/Push the Service

cf restage YOUR-CF-APP-NAME

OR

cf push YOUR-CF-APP-NAME
For more information about using Logit.io and Cloud Foundry see the Cloud Foundry Log Streaming documentation.

Step 4 - Check Logit.io for your logs

Data should now have been sent to your Stack.

View my data

If you don't see logs take a look at How to diagnose no data in Stack below for how to diagnose common issues.

Step 5 - how to diagnose no data in Stack

If you don't see data appearing in your Stack after following the steps, visit the Help Centre guide for steps to diagnose no data appearing in your Stack or Chat to support now.

Step 6 - Cloud Foundry Logging Overview

Cloud Foundry is an open source platform as a service (PaaS) developed by VMware. Cloud Foundry supports the entire application development lifecycle from an application’s initial inception all the way through to testing and deploying.

The multi-cloud environment provided by Cloud Foundry’s platform supports many commonly used programming languages, including; Golang, Ruby, Python and .Net Core.

Cloud Foundry assists developers that may not know how to set up their own database, web server or load balancer by providing a solution for these common roadblocks to deploying and operating apps.

The PaaS generates a number of logs, these include; STG, RTR, Zipkin, LGR, APP, SSH, CELL and Cloud Foundry API logs. With all these log types and status being generated by a single platform, it can be difficult to parse, transform and identify which of your cloud foundry logs may be of highest importance and which logs need to be visualised for further insights and reporting.

Thanks to our hosted Logstash solution, Logit.io makes parsing, sending and managing your logs from Cloud Foundry fast and effective. Our universal log viewer is able to process logs across tools, platforms and programming languages that you use on a daily basis. If you need any more assistance to analyse your Cloud Foundry logs we're here to help. Feel free to get in touch by reaching out to our support team via Intercom and we will be happy to assist.

Return to Search
Sign Up

© 2024 Logit.io Ltd, All rights reserved.