Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module needs a lot of work. It will contain all the functions that are needed to send some LogstashMessage to a Logstash server.
- sendSingleMessage :: HostName -> PortID -> LogstashMessage -> IO ()
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" } }