hslogstash-0.3.3: A library to work with, or as, a logstash server

Safe HaskellNone

Data.Conduit.Logstash

Description

Receive logstash messages from the network, and process them with a conduit.

Synopsis

Documentation

logstashListenerSource

Arguments

:: Int

Port number

-> Sink (Either ByteString LogstashMessage) (ResourceT IO) () 
-> IO () 

This creates a logstash network listener, given a TCP port. It will try to decode the Bytestring as UTF-8, and, if it fails, as Latin1.