Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

papertrailapp.com setup scripts #17

Open
marsz opened this issue Dec 19, 2017 · 0 comments
Open

papertrailapp.com setup scripts #17

marsz opened this issue Dec 19, 2017 · 0 comments
Assignees

Comments

@marsz
Copy link
Member

marsz commented Dec 19, 2017

memo

apt-get update
apt-get upgrade

wget https://github.com/papertrail/remote_syslog2/releases/download/v0.20-beta2/remote_syslog_linux_amd64.tar.gz
tar -xvf remote_syslog_linux_amd64.tar.gz
cp remote_syslog/remote_syslog /usr/local/bin
vim /etc/log_files.yml
remote_syslog
vim /etc/rc.local

vim /etc/rsyslog.d/95-papertrail.conf
service rsyslog restart

95-papertrail.conf

*.*    @logs6.papertrailapp.com:31397

log_files.yml

files:
  - /home/apps/ifuntuan/shared/log/*.log
destination:
  host: logs6.papertrailapp.com
  port: 31397
  protocol: tls
pid_file: /var/run/remote_syslog.pid
@marsz marsz self-assigned this Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant