DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to setup Papertrail / remote_syslog2 for Application Logs on your Serve

4 years ago medium.com
How to setup Papertrail / remote_syslog2 for Application Logs on your Serve

Summary: This is a summary of an article originally published by the source. Read the full original article here →

I planned to write a personal note on the same topic but later realized it might help someone else who's new to Papertrail. Step Login/Signup with Papertrail, and visit https://papertrailapp.com/systems/setup?type=system&platform=unixStep ssh into your server instance.

In my case, the distribution URL is https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote_syslog_linux_amd64.tar.gzStep Ru n wget -c https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote_syslog_linux_amd64.tar.gz -O - | tar -xz

Step cd into your downloaded remote_syslog2 folder withcd remote_syslog and run sudo cp ./remote_syslog /usr/local/binStep Run sudo nano /etc/log_files.yml and paste the following

Step Run sudo remote_syslog2 to start pushing log files to your Papertrail dashboard

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com