Make Your Logs Work for You

The days of logging in to servers and manually viewing log files are over. SolarWinds® Papertrail™ aggregates logs from applications, devices, and platforms to a central location.

View Technology Info

FEATURED TECHNOLOGY

Troubleshoot Fast and Enjoy It

SolarWinds® Papertrail™ provides cloud-based log management that seamlessly aggregates logs from applications, servers, network devices, services, platforms, and much more.

View Capabilities Info

FEATURED CAPABILITIES

Aggregate and Search Any Log

SolarWinds® Papertrail™ provides lightning-fast search, live tail, flexible system groups, team-wide access, and integration with popular communications platforms like PagerDuty and Slack to help you quickly track down customer problems, debug app requests, or troubleshoot slow database queries.

View Languages Info

FEATURED LANGUAGES

TBD - APM Integration Title

TBD - APM Integration Description

TBD Link

APM Integration Feature List

TBD - Built for Collaboration Title

TBD - Built for Collaboration Description

TBD Link

Built for Collaboration Feature List

Collect Logs: Hosting Services > Cloud Foundry

Cloud Foundry

Introduction

Cloud Foundry is a Platform-as-a-Service for deploying and scaling applications.

Setup

Create a Papertrail account (free)

If you don’t already have an account, sign up (free).

Register app with Papertrail

More recent implementations of CloudFoundry use a newer loggregator process version. For implementations using v77 or newer, this step can be disregarded and CloudFoundry can be treated like a typical log sender.

  1. Visit Add Systems: Less common setup methods and choose option B, I use Cloud Foundry.
  2. Fill in the form. Papertrail will provide a log destination to use with a Cloud Foundry log drain for your app. If you have multiple Cloud Foundry apps, register each app separately.

Set up Cloud Foundry drain

Add the Papertrail Log destination:

$ cf cups my-logs -l syslog-tls://logsN.papertrailapp.com:XXXXX

replacing logsN and XXXXX with the name and port number from the log destination created in the previous step.

Bind the service

Bind the newly created service drain to the app:

$ cf bind-service <appname> my-logs

replacing <appname> with the name of the application.

Apply the changes

Restart the application to start sending log data to Papertrail:

$ cf restart <appname>

replacing <appname> with the name of the application.

Wait 30 seconds for logging to start. Once it starts, messages should appear in Papertrail’s Event viewer in realtime.

Notes

Unicorn

If you have added unicorn to your Cloud Foundry app stack, Papertrail’s Unicorn logging explanation may be useful.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.