Safe Haskell | None |
---|---|
Language | Haskell2010 |
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%