Skip to content

fretlink/haskell-graylog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 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

Packages

No packages published

Languages

  • Haskell 98.4%
  • Makefile 1.6%