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

Safe HaskellNone
LanguageHaskell2010

HNormalise.Internal

Documentation

data ParseResult Source #

Constructors

PR_H Huppel

Huppel Result for testing purposes, should you want to check the pipeline works without pushing in actual data

PR_L LmodLoad

Represents a parsed LmodLoad message

PR_S Shorewall

Represents a parsed Shorewall message

PR_T TorqueJobExit

Represents a parsed TorqueJobExit message

data Rsyslog Source #

Instances

Eq Rsyslog Source # 

Methods

(==) :: Rsyslog -> Rsyslog -> Bool #

(/=) :: Rsyslog -> Rsyslog -> Bool #

Show Rsyslog Source # 
Generic Rsyslog Source # 

Associated Types

type Rep Rsyslog :: * -> * #

Methods

from :: Rsyslog -> Rep Rsyslog x #

to :: Rep Rsyslog x -> Rsyslog #

type Rep Rsyslog Source # 
type Rep Rsyslog = D1 (MetaData "Rsyslog" "HNormalise.Internal" "hnormalise-0.2.0.0-B9yjpahD0P87FypjF5O9Md" False) (C1 (MetaCons "Rsyslog" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "msg") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "timereported") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "hostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "syslogtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "inputname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "fromhost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "fromhost_ip") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "pri") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "syslogfacility") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "syslogseverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "timegenerated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "programname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "protocol_version") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "app_name") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "procid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))

data NormalisedRsyslog Source #

Constructors

NRsyslog 

Fields