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

Safe HaskellNone

Logstash.IO

Description

This module needs a lot of work. It will contain all the functions that are needed to send some LogstashMessage to a Logstash server.

Synopsis

Documentation

sendSingleMessage :: HostName -> PortID -> LogstashMessage -> IO ()Source

This very simple function lets you send a single message to a Logstash server, using the tcp input, configured in the following way:

 input {
   tcp {
     debug        => "true"
     port         => "12345"
     data_timeout => -1
     format       => "json_event"
     type         => "somemessages"
   }
 }