puppet-logstash icon indicating copy to clipboard operation
puppet-logstash copied to clipboard

Support for Modules

Open martinrw opened this issue 5 years ago • 0 comments

It would be good if we could easily puppet mange our logstash modules. For example I would like to be able to turn on and configure the netflow module.

It would maybe look something like this:

     class { 'logstash':
       settings    => {
         'xpack.management.elasticsearch.username' => logstash_user,
         'xpack.management.elasticsearch.password' => $logstash_user_password,
         ...
         ...
       },
       modules     => [
         netflow   => {
           'var.input.udp.port'      => '9999',
           'var.elasticsearch.hosts' => $elasticsearch_hosts,
           ...
           ...
         }
       ]
      }

martinrw avatar Apr 03 '19 12:04 martinrw