tcpServer Output - mklauber/puppet-splunk GitHub Wiki

The [tcpout-server://<ip address>:<port>] stanza in outputs.conf

This resource defines the [tcpout-server://] stanza(s) used in the outputs.conf file. There are two required attributes: ip_address and port. The supported attributes are based on the outputs.conf.spec. An example of a [tcpout-server://] stanza definition is as follows:

splunk::output::tcpServer { 'title':
  ip_address                  => '192.168.1.1',
  port                        => 9999,
  sendCookedData              => 'true',
  heartbeatFrequency          => 30,
  blockOnCloning              => 'true',
  compressed                  => 'true',
  negotiateNewProtocol        => 'true',
  channelReapInterval         => 60000,
  channelTTL                  => 300000,
  channelReapLowater          => 10,
  maxQueueSize                => 300MB,
  dropEventsOnQueueFull       => 10,
  dropClonedEventsOnQueueFull => 5,
  maxFailuresPerInterval      => 2,
  secsInFailureInterval       => 1,
  backoffOnFailure            => 30,
  maxConnectionsPerIndexer    => 2,
  connectionTimeout           => 20,
  readTimeout                 => 300,
  writeTimeout                => 300,
  dnsResolutionInterval       => 300,
  forceTimebasedAutoLB        => 'false',
  autoLBFrequency             => 30,
  sslPassword                 => "password",
  sslCertPath                 => '/path/to/certs',
  sslRootCAPath               => '/path/to/certs',
  sslVerifyServerCert         => 'true',
  sslCommonNameToCheck        => "commonName",
  sslAltNameToCheck           => "AltName",
  useClientSSLCompression     => 'true',
  useACK                      => 'true'
}
⚠️ **GitHub.com Fallback** ⚠️