Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ID int64 `json:"id"` ReceivedAt time.Time `json:"received_at"` DisplayReceivedAt string `json:"display_received_at"` SourceIP string `json:"source_ip"` SourceName string `json:"source_name"` SourceID int `json:"source_id"` Hostname string `json:"hostname"` Program string `json:"program"` Severity string `json:"severity"` Facility string `json:"facility"` Message string `json:"message"` }
type Payload ¶
type Payload struct { Events []*Event `json:"events"` Counts []*Count `json:"counts"` SavedSearch *SavedSearch `json:"saved_search"` MaxID string `json:"max_id"` MinID string `json:"min_id"` }
type SavedSearch ¶
Click to show internal directories.
Click to hide internal directories.