Version information
This version is compatible with:
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'pmovil-elastic_filebeat', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with elastic_filebeat
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
##Overview
Install and configure Elasticsearch filebeat
##Module Description
This puppet module installs filebeat official RPM from Elasticsearch with a fixed version (1.0.0-rc1 at the moment, waiting for filebeat release to implement other approach)
Actually only works with logstash output and without security, but it's easily expandable
##Setup
###What elastic_filebeat affects
- Manage filebeat package, service and configuration
- Monopolizes /etc/filebeat/filebeat.yml file and /etc/filebeat/conf.d directory
###Beginning with elastic_filebeat
puppet module install pmovil-elastic_filebeat
##Usage
class {'elastic_filebeat':
logstash_output_enabled: true
}
elastic_filebeat::prospector{'system_logs':
paths: ['/var/log/*'],
}
##Reference
###Classes
####elastic_filebeat
#####package_file
#####package_provider
#####logstash_output_enabled
#####logstash_output_hosts
#####logstash_output_loadbalance
#####logstash_output_index
#####self_log_to_syslog
#####self_log_to_files
#####self_log_selectors
#####self_log_level
#####self_log_path
#####self_log_name
#####self_log_rotateeverybytes
#####self_log_keepfiles
###Defined Types
####elastic_filebeat::prospector
#####paths
#####input_type
#####encoding
#####fields
#####fields_under_root
#####ignore_older
#####document_type
#####scan_frequency
#####harvester_buffer_size
#####tail_files
#####backoff
#####max_backoff
#####backoff_factor
#####partial_line_waiting
#####force_close_windows_files
YYYY-MM-DD Release 0.1.0
- something you did
- something else you did
Dependencies
- puppetlabs-stdlib (>= 1.0.0)
The MIT License (MIT) Copyright (c) 2015 Pmovil Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.