hnormalise-0.3.1.0: Log message normalisation tool producing structured JSON messages
HNormalise.Internal
data ParseResult Source #
Constructors
Huppel Result for testing purposes, should you want to check the pipeline works without pushing in actual data
Huppel
Represents a parsed LmodLoad message
LmodLoad
Represents a parsed Shorewall message
Shorewall
Represents a parsed TorqueJobExit message
TorqueJobExit
Instances
Methods
(==) :: ParseResult -> ParseResult -> Bool #
(/=) :: ParseResult -> ParseResult -> Bool #
showsPrec :: Int -> ParseResult -> ShowS #
show :: ParseResult -> String #
showList :: [ParseResult] -> ShowS #
Associated Types
type Rep ParseResult :: * -> * #
from :: ParseResult -> Rep ParseResult x #
to :: Rep ParseResult x -> ParseResult #
toJSON :: ParseResult -> Value #
toEncoding :: ParseResult -> Encoding #
toJSONList :: [ParseResult] -> Value #
toEncodingList :: [ParseResult] -> Encoding #
data Rsyslog Source #
Fields
showsPrec :: Int -> Rsyslog -> ShowS #
show :: Rsyslog -> String #
showList :: [Rsyslog] -> ShowS #
type Rep Rsyslog :: * -> * #
from :: Rsyslog -> Rep Rsyslog x #
to :: Rep Rsyslog x -> Rsyslog #
data NormalisedRsyslog Source #
The original rsyslog message in a parsed form
The normalised message
The key under which the normalised info will appear in the JSON result
showsPrec :: Int -> NormalisedRsyslog -> ShowS #
show :: NormalisedRsyslog -> String #
showList :: [NormalisedRsyslog] -> ShowS #
type Rep NormalisedRsyslog :: * -> * #
from :: NormalisedRsyslog -> Rep NormalisedRsyslog x #
to :: Rep NormalisedRsyslog x -> NormalisedRsyslog #