Forge Home

elastic_filebeat

Elastic filebeat installation/configuration

8,211 downloads

8,059 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Nov 13th 2015
This version is compatible with:
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'pmovil-elastic_filebeat', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pmovil-elastic_filebeat
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pmovil-elastic_filebeat --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

pmovil/elastic_filebeat — version 0.1.1 Nov 13th 2015

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with elastic_filebeat
  4. Usage - Configuration options and additional functionality
  5. 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