Puppet Class: role::logstash::collector

Defined in:
modules/role/manifests/logstash/collector.pp

Overview

vim:sw=4 ts=4 sts=4 et:

Class: role::logstash::collector

Provisions Logstash and an Elasticsearch node to proxy requests to ELK stack Elasticsearch cluster.

Parameters:

  • $statsd_host: Host to send statsd data to.

  • $prometheus_nodes: List of prometheus nodes to allow connections from

filtertags: labs-project-deployment-prep

Parameters:

  • statsd_host (Any)
  • prometheus_nodes (Any) (defaults to: hiera('prometheus_nodes', []))


12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/logstash/collector.pp', line 12

class role::logstash::collector (
    $statsd_host,
    $prometheus_nodes = hiera('prometheus_nodes', []), # lint:ignore:wmf_styleguide
) {

    class { '::profile::logstash::collector':
        statsd_host      => $statsd_host,
        prometheus_nodes => $prometheus_nodes,
    }

    include ::role::logstash::elasticsearch
    include ::profile::base::firewall

}