Puppet Class: packetbeat::protocols::http

Defined in:
manifests/protocols/http.pp

Overview

Parameters:

  • http_ports (Any) (defaults to: ['80', '8080', '8000'])
  • hide_keywords (Any) (defaults to: [])
  • send_headers (Any) (defaults to: ['Host', 'Cookie'])
  • split_cookie (Any) (defaults to: true)
  • real_ip_header (Any) (defaults to: 'X-Forwarded-For')


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

class packetbeat::protocols::http (
  $http_ports = ['80', '8080', '8000'],
  $hide_keywords = [],
  $send_headers = ['Host', 'Cookie'],
  $split_cookie = true,
  $real_ip_header = 'X-Forwarded-For'
) {
  concat::fragment {'protocols-http':
    target  => '/etc/packetbeat/packetbeat.yml',
    content => template('packetbeat/protocols/protocols.http.erb'),
    order   => 11,
  }
}