https://github.com/azavea/ansible-papertrail

An ansible role for installing Papertrail

https://github.com/azavea/ansible-papertrail

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.5%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

An ansible role for installing Papertrail

Basic Info
  • Host: GitHub
  • Owner: azavea
  • License: apache-2.0
  • Default Branch: develop
  • Size: 49.8 KB
Statistics
  • Stars: 20
  • Watchers: 21
  • Forks: 12
  • Open Issues: 2
  • Releases: 0
Created about 11 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License

README.md

ansible-papertrail

An Ansible role for installing Papertrail.

Role Variables

  • papertrail_version - Release of remote_syslog2 to use
  • papertrail_conf - Application logs configuration file (default: /etc/log_files.yml)
  • papertrail_host - Host for Papertrail's logging endpoint (default: logs2.papertrail.com)
  • papertrail_port - Port for Papertrail's logging endpoint (default: 45551)
  • papertrail_preserve_fqdn - Configure if rsyslog need to respect FQDN (default: off)

Usage

Ensure that papertrail_host and papertrail_port are set to the endpoints provided to your account by Papertrail. Both can be found in the user account settings.

In addition, this role does not attempt to setup any configuration for application logs. Only system logs are shipped to Papertrail by default (via Rsyslog). If you want to ship a custom set of application logs, wrap this role with a project specific role that templates the papertrail_conf file. Generally, this is /etc/log_files.yml and looks like this inside:

yaml files: - /var/log/httpd/access_log - /var/log/httpd/error_log - /opt/misc/*.log - /home/**/*.log - /var/log/mysqld.log - /var/run/mysqld/mysqld-slow.log exclude_files: - old - 200\d hostname: www42 # override OS hostname exclude_patterns: - exclude this - \d+ things destination: host: logs.papertrailapp.com port: 12345 # NOTE: change this to YOUR papertrail port! protocol: tls new_file_check_interval: "10" # Check every 10 seconds

Example Playbook

See the examples directory.

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 7
  • Total pull requests: 20
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 4
  • Total pull request authors: 9
  • Average comments per issue: 1.86
  • Average comments per pull request: 0.7
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mikegleasonjr (2)
  • hectcastro (1)
  • markdascher (1)
  • brianmertens (1)
Pull Request Authors
  • tnation14 (4)
  • flibbertigibbet (2)
  • hectcastro (2)
  • legoscia (1)
  • dfeyer (1)
  • notthatbreezy (1)
  • llbbl (1)
  • pradeepazavea (1)
  • JakubCzarniecki (1)
Top Labels
Issue Labels
operations (4) Defect (3) size: 1 (2) Enhancement (1) size: 2 (1)
Pull Request Labels