Defined Type: fluentd::filter

Defined in:
manifests/filter.pp

Overview

definition fluentd::filter

Parameters:

  • type (Any)
  • format (Any)
  • config (Any) (defaults to: [])


2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/filter.pp', line 2

define fluentd::filter (
    $type,
    $format,
    $config = [],
) {
    concat::fragment { 'filter':
        target  => "/etc/td-agent/config.d/${::name}.conf",
        require => Class['Fluentd::Packages'],
        content => template('fluentd/filter.erb'),
    }
}