Guides related to Beach

How to use SolarWinds Observability for logging

Central logging helps you to find the right information and keep the logs between jobs.

Overview

SolarWinds Observability is a collection of tools. The included Papertrail is used for log management, which centralizes all your logs, makes them searchable and lets you set criteria for notifications from other services. Such a service is a great addition to your Beach project:

  • it stores your log files in a location outside of your container. This is important because all files - including log files - stored in your instance containers will be gone after the next Deployment.
  • it collects the logs from multiple containers and sources. If you scale your instances to multiple replicas, you need a central location where you can search for the cause of a problem.
  • it makes your logs searchable. Want to know what happened to your website Neos at 1am last night? Or when a certain error last occurred?

Setup

Activating SolarWinds Observability for your project is very easy. First, log in to your SolarWinds Observability account. Now go to Logs > Destinations and make a note of the host and port.

Next, log in to Beach, go to one of your projects and select the "Add-ons" tab. Select the SolarWinds Observability add-on and enter the host and port of your log destination.

That's it!

Logging is activated in all instances of your project. The change will take effect with the next Deployment of your instance.

Instance logs

You will find a reference to the log destination in the details of your instance

The host name in the logs is the ID of your instance.