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

Safe HaskellNone
LanguageHaskell2010

Panos.Syslog.Unsafe

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 Threat Source #

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

Constructors

Threat 

Fields

newtype 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.

Constructors

Field UnmanagedBytes 
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

data Bounds Source #

Constructors

Bounds !Int !Int 

Decoding

decode :: Bytes -> Either Field Log Source #

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