Setting Up A Syslog Drain

1.5 hours
  • 2 Learning Objectives

About this Hands-on Lab

In this Live Environment you will be taking on the role of a DevOps Engineer. Your team has decided to setup a syslog drain for a user api that was deployed a month ago. The decision was made to use Paper Trail for the syslog server. In this Live Environment you will learn how to use Paper Trail with Cloud Foundry.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a user provided service for the user api
Bind the service to app

Additional Resources

Register for a Pivotal Cloud Foundry account.

This lab requires that you have a Paper Trail account. It's free to signup.

Use the cf-cli to login to your Pivotal Cloud Foundry account.

Cleanup any lingering resources.

You will have an app called user-api in /root.

Execute a cf push to bootstrap your environment with the manifest file.

Login to Paper Trail.

Create a new system

Select I User Cloud Foundry enter a name and create a new system.

Use the URL and port to create a new user provided service.

Bind the service to the user api.

Restart the user api to for the service to take effect.

Verify that log data is draining into Paper Trail.

Once complete deprovision user api.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?