Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- data LogstashTcpConfig = LogstashTcpConfig {}
- logstashTcp :: LogstashTcpConfig -> Acquire LogstashConnection
- logstashTcpPool :: LogstashTcpConfig -> Int -> NominalDiffTime -> Int -> IO LogstashPool
- logstashTls :: LogstashTcpConfig -> ClientParams -> Acquire LogstashConnection
- logstashTlsPool :: LogstashTcpConfig -> ClientParams -> Int -> NominalDiffTime -> Int -> IO LogstashPool
Documentation
data LogstashTcpConfig Source #
Represents configurations for Logstash TCP inputs.
Constructors
LogstashTcpConfig | |
Fields
|
Instances
Show LogstashTcpConfig Source # | |
Defined in Logstash.TCP Methods showsPrec :: Int -> LogstashTcpConfig -> ShowS # show :: LogstashTcpConfig -> String # showList :: [LogstashTcpConfig] -> ShowS # | |
Default LogstashTcpConfig Source # | |
Defined in Logstash.TCP Methods | |
Eq LogstashTcpConfig Source # | |
Defined in Logstash.TCP Methods (==) :: LogstashTcpConfig -> LogstashTcpConfig -> Bool # (/=) :: LogstashTcpConfig -> LogstashTcpConfig -> Bool # |
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
.