Skip to content

A role for adding papertrail logging to a Centos or Ubuntu machines, using both rsyslog and papertrail's own remote_syslog daemon

License

Notifications You must be signed in to change notification settings

productscience/ansible-papertrailapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Papertrail Role

This role sets up papertrail on the host the playbook runs, on, setting up logging via TLS to a host and port defined by papertrail_logging_host and papertrail_logging_port.

Right now, it works with remote_syslog over TLS, and rsyslog over UDP, but frustratingly, not rsyslog over TLS.

Usage

  1. Download this role, and place it in your roles directory.
  2. Update the papertrail_logging_host and papertrail_logging_port vars to the ones supplied on the Papertrail WebUI
  3. Add role to your playbook
vars:
  - papertrail_logging_host: logs2.papertrailapp.com
  - papertrail_logging_port: 12345

roles:
 - productscience.papertrailapp

About

A role for adding papertrail logging to a Centos or Ubuntu machines, using both rsyslog and papertrail's own remote_syslog daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages