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


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


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


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 > AWS Elastic Beanstalk

AWS Elastic Beanstalk


AWS Elastic Beanstalk is a way to quickly deploy and manage applications in Amazon Web Services. Elastic Beanstalk supports Java, PHP, Python, Ruby, .NET, and Node.js apps. Here’s how to aggregate app and system logs from Elastic Beanstalk instances.


Aggregating logs directly from app/framework

Logs from apps on Elastic Beanstalk can often be aggregated with the same in-app logging libraries you would use without Elastic Beanstalk. For example, a Java app might use logback or log4j, a .NET app might use NLog or log4net, and a Ruby app might use a Logger class like remote_syslog_logger.

To configure your Elastic Beanstalk app to log to Papertrail, follow the instructions for the log library or language/framework you use, like log4j, logback, or PHP. See Configuration.

If you have not chosen a log library or are not using a logging framework, skim Configuration for ideas or contact us and we’ll suggest one.

If in-app log aggregation doesn’t fit your situation or you also want other logs (like Linux syslog), continue to Aggregating logs using system-level tools.

Aggregating logs using system-level tools

Papertrail works with both .ebextensions and custom AMIs.

Pre-made image (most common)

Use this Elastic Beanstalk .ebextensions file to aggregate app logs, syslog, and other log file(s). EB container customization will install and run Papertrail’s tiny daemon.

The example config tells Elastic Beanstalk’s provisioning stack to write a configuration file and init script for remote_syslog2.

The configuration file lists the log file paths that should be transmitted to Papertrail. Finally, the config file installs remote_syslog2 and tells Elastic Beanstalk to start it at boot time (via the init script). You will need to modify at least the source URL to include the remote_syslog2 version number, log file paths, and log destination.

Custom AMI

Some Elastic Beanstalk apps already require a custom AMI. Configure Papertrail as part of your custom AMI by following any of Papertrail’s standard Unix or Windows Configuration instructions.

If neither of the above are suitable, contact us to see what other options we may have. We can usually suggest a solution based on your environment.

Integration with instance provisioning

Both pre-made and custom images can use a powerful feature of Elastic Beanstalk: the commands configuration file option. This option allows app owners to specify commands to run after an instance boots. Read more.

If your instance provisioning process includes hitting an API (such as Papertrail’s HTTP API or altering the system configuration, the commands config option is a good place for it.

Legacy Container Configuration

The configurations above are recommended for any new setups. If for some reason remote_syslog2 won’t work for you, using the original Ruby remote_syslog is an option.

An example Elastic Beanstalk log aggregation config file for ruby remote_syslog was created by Papertrail customer (Táve) for their own use.