hnormalise-0.3.1.0: Log message normalisation tool producing structured JSON messages

Safe HaskellNone
LanguageHaskell2010

HNormalise.Parser

Synopsis

Documentation

parseMessage :: Parser (Text, ParseResult) Source #

The parseMessage function will try and use each configured parser to normalise the input it's given

getJsonKey :: ParseResult -> Text Source #

The getJsonKey function return the key under which the normalised message should appear when JSON is produced

parseRsyslogLogstashString :: Parser ByteString Source #

The parseRsyslogLogstashString currently is a placeholder function that will convert the incoming rsyslog message if it is encoded as expected in a plain string format %PRI%1 %timegenerated:::date-rfc3339% %HOSTNAME% %syslogtag% - %APP-NAME%: %msg%