pan-os-syslog-0.1.0.0: Parse syslog traffic from PAN-OS

Safe HaskellNone
LanguageHaskell2010

Panos.Syslog

Contents

Synopsis

Types

data Log Source #

Sum that represents all known PAN-OS syslog types. Use decode to parse a byte sequence into a structured log.

data Traffic Source #

A PAN-OS traffic log. Read-only accessors are found in Panos.Syslog.Traffic.

data Threat Source #

A PAN-OS threat log. Read-only accessors are found in Panos.Syslog.Threat.

data System Source #

A PAN-OS system log. Read-only accessors are found in Panos.Syslog.System.

data Field Source #

The field that was being parsed when a parse failure occurred. This is typically for useful for libary developers, but to present it to the end user, call show or throwIO.

Instances
Show Field Source # 
Instance details

Defined in Panos.Syslog.Unsafe

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Exception Field Source # 
Instance details

Defined in Panos.Syslog.Unsafe

Decoding

decode :: Bytes -> Either Field Log Source #

Decode a PAN-OS syslog message of an unknown type.