Versions in this module Expand all Collapse all v1 v1.0.0 Mar 3, 2016 Changes in this version + var EventRecs []EventU2Record + var ExtraDataRecs []ExtraDataU2Record + var PacketRecs []PacketU2Record + func Error404(w http.ResponseWriter, r *http.Request) + func Error500(w http.ResponseWriter, r *http.Request) + func ErrorES(msg string, w http.ResponseWriter, r *http.Request) + func GetEntity(jr json.RawMessage, v Entity) error + func HelpGET(w http.ResponseWriter, r *http.Request) + func Index(w http.ResponseWriter, r *http.Request) + func InvalidToken(w http.ResponseWriter, r *http.Request) + func RecordShowGET(w http.ResponseWriter, r *http.Request) + func RecordsGET(w http.ResponseWriter, r *http.Request) + func RecordsPOST(w http.ResponseWriter, r *http.Request) + func Static(w http.ResponseWriter, r *http.Request) + type AnyU2Record struct + DPort int64 + DstIP string + EventId int64 + EventLength int64 + EventMicrosecond int64 + EventSecond int64 + EventType int64 + GeneratorId int64 + Id string + Index string + Label string + PacketDump string + PacketMicrosecond int64 + PacketSecond int64 + Protocol int64 + RecordType string + SPort int64 + SensorId int64 + Signature string + SignatureId int64 + SrcIP string + Timestamp time.Time + XData string + XDataLength int64 + XDataType int64 + XType int64 + type Entity interface + UnmarshalEsSource func(json.RawMessage) error + type EventU2Record struct + Blocked int64 + ClassificationId int64 + DPort int64 + DstCountryCode string + DstIP string + DstIPv6 string + DstLocation string + EventId int64 + EventMicrosecond int64 + EventSecond int64 + GeneratorId int64 + Impact int64 + ImpactFlag int64 + IndexedAt time.Time + InputType string + MplsLabel int64 + Priority int64 + Protocol int64 + RecordType string + RuleRaw string + RuleSourceFile string + RuleSourceFileLineNumber int64 + SPort int64 + SensorHostname string + SensorId int64 + SensorInterface string + SensorType string + Signature string + SignatureId int64 + SignatureRevision int64 + Source string + SourceOffset int64 + SrcCountryCode string + SrcIP string + SrcIPv6 string + SrcLocation string + Timestamp time.Time + VlanId int64 + func (e *EventU2Record) UnmarshalEsSource(jr json.RawMessage) error + type ExtraDataU2Record struct + EventId int64 + EventLength int64 + EventSecond int64 + EventType int64 + IndexedAt time.Time + InputType string + RecordType string + SensorId int64 + Source string + SourceOffset int64 + Timestamp time.Time + XData string + XDataLength int64 + XDataType int64 + XType int64 + func (ed *ExtraDataU2Record) UnmarshalEsSource(jr json.RawMessage) error + type PacketU2Record struct + EventId int64 + EventSecond int64 + IndexedAt time.Time + InputType string + PacketDump string + PacketMicrosecond int64 + PacketSecond int64 + RecordType string + SensorHostname string + SensorId int64 + SensorInterface string + SensorType string + Source string + SourceOffset int64 + Timestamp time.Time + func (p *PacketU2Record) UnmarshalEsSource(jr json.RawMessage) error