Puppet Manifest List Puppet Plugin List Puppet Type List Puppet Provider List Class List Method List File List

# Puppet Defined Type: patternfile

Defined in:
  manifests/patternfile.pp

## Overview

## Define: logstash::patternfile

This define allows you to transport custom pattern files to the Logstash instance

All default values are defined in the logstashc::params class.

### Parameters

source

  Puppet file resource of the pattern file ( puppet:// ) Value type is string Default value: None This variable is required

filename

  if you would like the actual file name to be different then the source file name Value type is string This variable is optional

### Examples

    logstash::patternfile { 'mypattern':
      source => 'puppet:///path/to/my/custom/pattern'
    }

    or wil an other actual file name

    logstash::patternfile { 'mypattern':
      source   => 'puppet:///path/to/my/custom/pattern_v1',
      filename => 'custom_pattern'
    }

### Authors

- Justin Lambert

- Richard Pijnenburg <richard.pijnenburg@elasticsearch.com>

## Parameter Summary

- source (`Any`)
- filename (`Any`)`=> undef`