Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogEntry ¶
type LogEntry struct {
ID string `json:"id"`
Host string `json:"host"`
Container string `json:"container"`
Pid int `json:"pid"`
Msg string `json:"msg"`
TS time.Time `json:"ts"`
CreatedTS time.Time `json:"cts"`
}
LogEntry represents a single event for forwarder and rest server and client
type Request ¶
type Request struct {
LastID string `json:"id"`
Limit int `json:"max"` // max size of response, i.e. number of messages one request can return
Hosts []string `json:"hosts,omitempty"` // list of hosts, can be exact match or regex in from of /regex/
Containers []string `json:"containers,omitempty"` // list of containers, can be regex as well
Excludes []string `json:"excludes,omitempty"` // list of excluded containers, can be regex
FromTS time.Time `json:"from_ts,omitempty"`
ToTS time.Time `json:"to_ts,omitempty"`
}
Request with filters and params for store queries Every filter is optional. If not defined means "any"
Click to show internal directories.
Click to hide internal directories.