vflow-types-0.1: types for ingesting vflow data with aeson

Safe HaskellNone
LanguageHaskell2010

VFlow.Types.NetFlow5

Documentation

data NetFlow Source #

Instances
Eq NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Methods

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

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

Show NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Generic NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Associated Types

type Rep NetFlow :: Type -> Type #

Methods

from :: NetFlow -> Rep NetFlow x #

to :: Rep NetFlow x -> NetFlow #

ToJSON NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

FromJSON NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

type Rep NetFlow Source # 
Instance details

Defined in VFlow.Types.NetFlow5

type Rep NetFlow = D1 (MetaData "NetFlow" "VFlow.Types.NetFlow5" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "NetFlow" PrefixI True) (S1 (MetaSel (Just "netflowAgentID") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4) :*: (S1 (MetaSel (Just "netflowHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Header) :*: S1 (MetaSel (Just "netflowFlows") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [FlowsElt]))))

data FlowsElt Source #

Instances
Eq FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Show FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Generic FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Associated Types

type Rep FlowsElt :: Type -> Type #

Methods

from :: FlowsElt -> Rep FlowsElt x #

to :: Rep FlowsElt x -> FlowsElt #

ToJSON FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

FromJSON FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

type Rep FlowsElt Source # 
Instance details

Defined in VFlow.Types.NetFlow5

type Rep FlowsElt = D1 (MetaData "FlowsElt" "VFlow.Types.NetFlow5" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "FlowsElt" PrefixI True) ((((S1 (MetaSel (Just "flowsEltDstAsNum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "flowsEltL3Octets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "flowsEltTCPFlags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltDstAddr") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4)))) :*: ((S1 (MetaSel (Just "flowsEltTos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltPadding1") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "flowsEltNextHop") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4) :*: (S1 (MetaSel (Just "flowsEltSrcPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))) :*: (((S1 (MetaSel (Just "flowsEltPktCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltOutput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "flowsEltDstMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "flowsEltDstPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) :*: ((S1 (MetaSel (Just "flowsEltPadding2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "flowsEltSrcMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "flowsEltSrcAsNum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "flowsEltSrcAddr") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4) :*: S1 (MetaSel (Just "flowsEltProtType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))))

data Header Source #

Instances
Eq Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Methods

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

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

Show Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Generic Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5

Associated Types

type Rep Header :: Type -> Type #

Methods

from :: Header -> Rep Header x #

to :: Rep Header x -> Header #

ToJSON Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5

FromJSON Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5

type Rep Header Source # 
Instance details

Defined in VFlow.Types.NetFlow5