logstash-0.1.0.1: Logstash client library for Haskell
Safe HaskellNone
LanguageHaskell2010

Logstash.TCP

Description

This module implements a logstash client for the tcp input plugin: https://www.elastic.co/guide/en/logstash/7.10/plugins-inputs-tcp.html

Synopsis

Documentation

data LogstashTcpConfig Source #

Represents configurations for Logstash TCP inputs.

Constructors

LogstashTcpConfig 

Fields

logstashTcp :: LogstashTcpConfig -> Acquire LogstashConnection Source #

logstashTcp config produces an Acquire for establishing LogstashConnection values for the given TCP config.

logstashTcpPool :: LogstashTcpConfig -> Int -> NominalDiffTime -> Int -> IO LogstashPool Source #

logstashTcpPool config stripes ttl resources produces a Pool of LogstashConnection values for the given TCP config. The other parameters are passed on directly to createPool.

logstashTls :: LogstashTcpConfig -> ClientParams -> Acquire LogstashConnection Source #

logstashTls config params produces an Acquire for establishing LogstashConnection values for the given TCP config and TLS params.

logstashTlsPool :: LogstashTcpConfig -> ClientParams -> Int -> NominalDiffTime -> Int -> IO LogstashPool Source #

logstashTlsPool config params stripes ttl resources produces a Pool of LogstashConnection values for the given TCP config and TLS params. The other parameters are passed on directly to createPool.