cookbook 'logstash-forwarder', '~> 0.2.4'
logstash-forwarder (6) Versions 0.2.4 Follow6
Installs and configures logstash-forwarder
cookbook 'logstash-forwarder', '~> 0.2.4', :supermarket
knife supermarket install logstash-forwarder
knife supermarket download logstash-forwarder
logstash-forwarder
Description
Cookbook with LWRPs for install and managing logstash-forwarder
Requirements
Platforms
- amazon 2014
- redhat 6
- centos 6
- scientific 6
- fedora 18, 19
- debian 7
- ubuntu >= 12.04
Attributes
| Attribute | Description | Type | Default | 
|---|---|---|---|
| node['logstash-forwarder']['package_name'] | logstash-forwarder package name | String | logstash-forwarder | 
| node['logstash-forwarder']['service_name'] | logstash-forwarder service name | String | logstash-forwarder | 
| node['logstash-forwarder']['logstash_servers'] | List of servers, which will be used as downstream. | Array | ['localhost:5043'] | 
| node['logstash-forwarder']['timeout'] | Network timeout in seconds. This parameter will be passed to config file. | Integer | 15 | 
| node['logstash-forwarder']['config_path'] | The path to the config file | String | /etc/logstash-forwarder.conf | 
| node['logstash-forwarder']['version'] | logstash-forwarder package version | String | 0.4.0 | 
| node['logstash-forwarder']['ssl_ca'] | The path to trusted ssl ca certificate. Downstream servers must be signed by this cetificate. | String | platform dependent | 
| node['logstash-forwarder']['enable_ssl'] | Whether to enable SSL or not. | Boolean | false | 
| node['logstash-forwarder']['ssl_cert'] | The path to ssl certificate. Required when enable_ssl is true. | String | '' | 
| node['logstash-forwarder']['ssl_key'] | The path to ssl key. Valid when enable_ssl is true. | String | '' | 
| node['logstash-forwarder']['package_url'] | Url from which to load the logstash-forwarder package. | String | platform dependent | 
Resources/Providers
log_forward
Adds information about wich files must be forwarded to remote logstash server to config file.
Attributes
| Attribute | Description | Type | 
|---|---|---|
| paths | List of files, which will be forwarded to remote logstash server | Array | 
| fields | A dictionary of fields to annotate on each event. | Hash | 
Examples
You may see examples in fixture cookbook: [test/fixtures/lwrp_test/recipes/default.rb](test/fixtures/lwrp_test/recipes/default.rb)
Authors
- Author:: Pavel Yudin (pyudin@parallels.com)
Dependent cookbooks
| apt >= 0.0.0 | 
| yum >= 0.0.0 | 
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
        
            0.2.4 failed this metric
            Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
        
      Contributing File Metric
        
            0.2.4 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
        
            0.2.4 failed this metric
            FC064: Ensure issues_url is set in metadata: logstash-forwarder/metadata.rb:1
FC065: Ensure source_url is set in metadata: logstash-forwarder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: logstash-forwarder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: logstash-forwarder/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
        
      No Binaries Metric
        
            0.2.4 passed this metric
        
      Testing File Metric
        
            0.2.4 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
        
            0.2.4 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
        
  
0.2.4 failed this metric
            0.2.4 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
        
            0.2.4 failed this metric
            FC064: Ensure issues_url is set in metadata: logstash-forwarder/metadata.rb:1
FC065: Ensure source_url is set in metadata: logstash-forwarder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: logstash-forwarder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: logstash-forwarder/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
        
      No Binaries Metric
        
            0.2.4 passed this metric
        
      Testing File Metric
        
            0.2.4 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
        
            0.2.4 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
        
  
0.2.4 failed this metric
FC065: Ensure source_url is set in metadata: logstash-forwarder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: logstash-forwarder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: logstash-forwarder/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
            0.2.4 passed this metric
        
      Testing File Metric
        
            0.2.4 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
        
            0.2.4 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
        
  
0.2.4 failed this metric
            0.2.4 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