
This makes a whole host of changes. First we install logstash from the deb packages that are now available. This package sets up the logstash user, group, logrotate for log files, a conf.d dir, and an init script for a service for us. This means all of that stuff can be removed from puppet and be provided by the package instead. In addition to cleanup related to the package we remove things that no longer make sense with newer logstash. There is no more logstash web service for example use kibana instead. Also the distinction between agent and indexer is no longer strong and logstash has a separate shipper tool which should be used in place of the agent (though backward compat for the agent class is preserved by setting it up as an indexer using an agent config). Depends-On: I2354fbe9d3ab25134c52bfe58f562dfdf9ff6786 Change-Id: If3fa423a80a03d09993e58f6d68a3a212b457468
OpenStack Logstash Module
Overview
Installs and configures Logstash.
Quick Start
class { 'logstash::web':
frontend => 'kibana',
discover_nodes => ['es1.example.com:9200', 'es2.example.com:9200'],
proxy_elasticsearch => true,
}
Usage Considerations
You will want to add security with certs and firewalls when using this module.
This module is recently split out of the monolithic OpenStack Infra system-config repo. It is gaining flexibility but for now may be more opinionated than what you really want.
Example to bring up logstash web interface or kibana
Example usage:
class { 'logstash::web':
frontend => 'kibana',
discover_nodes => ['es1.example.com:9200', 'es2.example.com:9200'],
proxy_elasticsearch => true,
}
Example to install a logstash indexer
Example usage:
class { 'logstash::indexer':
conf_template => 'my_org_module/indexer.conf.erb',
}
Where index.conf.erb looks like:
License
Apache 2.0
Project website
Though this project is mirrored to github, that is just a mirror. This is a sub project under the OpenStack umbrella, and so has more process associated with it than your typical Puppet module.
This module is under the direction of the openstack-infra team. Website: http://ci.openstack.org/
The official git repository is at: https://git.openstack.org/cgit/openstack-infra/puppet-logstash
Bugs can be submitted against this module at: https://storyboard.openstack.org/#!/search?q=puppet-logstash
And contributions should be submitted through review.openstack.org by following http://docs.openstack.org/infra/manual/developers.html
Contact
You can reach the maintainers of this module on freenode in #openstack-infra and on the openstack-infra mailing list:
openstack-infra@lists.openstack.org.
Unsubscribed users' messages will be held for a short time until they are manually released.