cookbook 'loggly-rsyslog', '~> 1.0.0'
loggly-rsyslog (1) Versions 1.0.0 Follow2
Installs/Configures rsyslog streaming into Loggly
cookbook 'loggly-rsyslog', '~> 1.0.0', :supermarket
knife supermarket install loggly-rsyslog
knife supermarket download loggly-rsyslog
Description
A simple cookbook for setting up a server to stream logs into Loggly via a secure
TCP connection.
NOTE: The current Loggly cetfificate is broken, so while the connection from rsyslog
uses TLS, it does not verify the peer, which makes it vulnerable to man in the middle attacks.
Requirements
Built to run on systems with Rsyslog installed. Tested on Ubuntu 12.04
Attributes
['loggly']['port'] = The Loggly log destination port number (required)
['loggly']['syslog_selector'] = The syslog tags and types to stream into Loggly (defaults to "*.*")
['loggly']['resume_retry_count'] = The number of times to retry the sending of failed messages (defaults to unlimited)
['loggly']['queue_disk_space'] = The maximum disk space allowed for queues (defaults to 100M)
['loggly']['enable_tls'] = Whether to encrypt all log traffic going into Loggly (defaults to True)
Usage
First, make sure you set the ['loggly']['port'] attribute in your Role/Environment,
to the destination port created in Loggly. Then include the loggly::default
recipe
in you run list to start streaming all syslog entries to Loggly.
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)
Copyright:: 2013, HipSnip 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.
Dependent cookbooks
rsyslog ~> 1.5.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: loggly-rsyslog/metadata.rb:1
FC065: Ensure source_url is set in metadata: loggly-rsyslog/metadata.rb:1
FC066: Ensure chef_version is set in metadata: loggly-rsyslog/metadata.rb:1
FC069: Ensure standardized license defined in metadata: loggly-rsyslog/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: loggly-rsyslog/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: loggly-rsyslog/metadata.rb:1
FC065: Ensure source_url is set in metadata: loggly-rsyslog/metadata.rb:1
FC066: Ensure chef_version is set in metadata: loggly-rsyslog/metadata.rb:1
FC069: Ensure standardized license defined in metadata: loggly-rsyslog/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: loggly-rsyslog/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: loggly-rsyslog/metadata.rb:1
FC066: Ensure chef_version is set in metadata: loggly-rsyslog/metadata.rb:1
FC069: Ensure standardized license defined in metadata: loggly-rsyslog/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: loggly-rsyslog/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number