Forge Home

logstash

UNKNOWN

8,877 downloads

8,877 latest version

1.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

  • 1.0.0 (latest)
released Sep 7th 2012

Start using this module

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

Add this module to your Puppetfile:

mod 'Nelmo-logstash', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add Nelmo-logstash
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install Nelmo-logstash --version 1.0.0

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
Tags: logstash

Documentation

Nelmo/logstash — version 1.0.0 Sep 7th 2012

---- MODULE DESCRIPTION ----

This module installs and manages logstash software and configuration. Through declaration, you can configure directors and configuration files. It's usable on Debian 5/6 & Redhat 4/5/6 systems.

---- PRE-REQUISITES ----

1° Java must be installed on your system 2° Ensure command "which java" return the good java luncher path

---- CONFIGURATION ----

1° Download latest logstash version and configure install.pp ex : logstash-1.1.1-monolithic.jar open /logstash/manifest/install.pp Modify $logstash_binary value by name of your logstash binary name : --> $logstash_binary = 'logstash-1.1.1-monolithic.jar'

2° Push binary in file directory ex : mv logstash-1.1.1-monolithic.jar/logstash/files/

---- EXEMPLE : USAGE OF CONFIGURATION FILES ----

This puppet module provides management of configuration files :

  • basic configuration files for all nodes
  • configuration files specific by host

host : "foobar" Monitored software : "postgres"

If you have a host with specific software (postgres), you can add a configuration file named "logstash_postgres.foobar" in the logstash/files/conf.d/ directory of the puppetmaster. You can imagine that logstash_postgres.conf manages a lot of postgres instances log files. After a puppet run, host named 'foobar' has in /etc/logstash/conf.d/ files logstash_base.conf and logstash_postgres.conf