Documentation ¶
Index ¶
- func AddHTTPStartStopAttributes(a *Attributes, e *events.Envelope, c caching.CachingClient)
- func AddLogMessageAttributes(a *Attributes, e *events.Envelope, c caching.CachingClient)
- type ApplicationAttribute
- type Attributes
- type Event
- type Events
- type HTTPAttribute
- type HumioClient
- type HumioConfig
- type LogAttribute
- type OrganizationAttribute
- type SpaceAttribute
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHTTPStartStopAttributes ¶
func AddHTTPStartStopAttributes(a *Attributes, e *events.Envelope, c caching.CachingClient)
func AddLogMessageAttributes ¶
func AddLogMessageAttributes(a *Attributes, e *events.Envelope, c caching.CachingClient)
Types ¶
type ApplicationAttribute ¶
type Attributes ¶
type Attributes struct { EventType string `json:"eventtype"` EventTime string `json:"timestamp"` Deployment string `json:"deployment"` Environment string `json:"env"` Job string `json:"job"` Index string `json:"index"` IP string `json:"ip,omitempty"` Tags map[string]string `json:"tags,omitempty"` NozzleInstance string `json:"instance"` Org OrganizationAttribute `json:"org,omitempty"` Space SpaceAttribute `json:"space,omitempty"` App ApplicationAttribute `json:"app,omitempty"` HTTP HTTPAttribute `json:"http,omitempty"` Log LogAttribute `json:"log,omitempty"` }
type Event ¶
type Event struct { Timestamp string `json:"timestamp"` Attributes Attributes `json:"attributes"` }
type HTTPAttribute ¶
type HTTPAttribute struct { StartTimestamp string `json:"starttimestamp"` StopTimestamp string `json:"stoptimestamp"` RequestID string `json:"requestid"` PeerType string `json:"peertype"` Method string `json:"method"` URI string `json:"uri"` RemoteAddress string `json:"remoteaddr"` UserAgent string `json:"ua"` StatusCode int32 `json:"statuscode"` ContentLength int64 `json:"contentlength"` InstanceIndex int32 `json:"instanceindex"` InstanceID string `json:"instanceid"` Forwarded string `json:"forwarded"` }
type HumioClient ¶
func NewHumioClient ¶
func NewHumioClient(humioConfig *HumioConfig, logger lager.Logger) HumioClient
type HumioConfig ¶
type LogAttribute ¶
type OrganizationAttribute ¶
type SpaceAttribute ¶
Click to show internal directories.
Click to hide internal directories.