Skip to content

stefan42/haskell-graylog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graylog

This library provides support for sending GELF formatted messages to Graylog. Currently the UDP chunked method is the only method supported.

import Graylog.UDP

main :: IO ()
main = do
   eglog <- openGraylog "192.168.99.100" "12201" defaultChunkSize
   case eglog of
      Left  e -> assertFailure e
      Right g -> sendLog g sample >> closeGraylog g
   where
      sample = simpleGelf "localhost" "hello world!"

About

Connector for Graylog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published