Coder Social home page Coder Social logo

lbdremy / papertrail-rsyslog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from widgit-cookbooks/papertrail-rsyslog

0.0 3.0 0.0 235 KB

Chef cookbook for setting up Rsyslog to pipe into Papertrail

License: Apache License 2.0

Ruby 95.94% HTML 4.06%

papertrail-rsyslog's Introduction

Description Build Status

A simple cookbook for setting up a server to stream logs into Papertrail via a secure TCP connection.

Requirements

Built to run on systems with Rsyslog installed. Tested on Ubuntu 12.04

Attributes

['papertrail']['port'] = The Papertrail log destination port number (required)
['papertrail']['host'] = The Papertrail host address (defaults to logs)
['papertrail']['syslog_selector'] = The syslog tags and types to stream into Papertrail (defaults to "*.*")
['papertrail']['resume_retry_count'] = The number of times to retry the sending of failed messages (defaults to unlimited)
['papertrail']['queue_disk_space'] = The maximum disk space allowed for queues (default to 100M)
['papertrail']['enable_tls'] = Whether to encrypt all log traffic going into Papertrail (default to True)
['papertrail']['certificate_src'] = The URL of the certificate file on the Papertrail server
['papertrail']['certificate_checksum'] = The sha256 checksum for the Papertrail certificate file

Usage

First, make sure you set the ['papertrail']['port'] attribute in your Role/Environment, to the destination port created in Papertrail. Then include the papertrail::default recipe in you run list to start streaming all syslog entries to Papertrail.

Tailing log files

This functionality is currently not available, but will be provided via the Opscode Rsyslog cookbook (included as a dependency), where there is an open pull request for it at the time of this writing.

Development

Please refer to the Readme here

License and Author

Author:: Adam Borocz (on GitHub) Maintainer:: Simon Detheridge (on GitHub)

Copyright:: 2013, HipSnip Ltd. Copyright:: 2014, Symbols Worldwide Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

papertrail-rsyslog's People

Contributors

motns avatar madwork avatar timunwin avatar

Watchers

Remy Loubradou avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.