Documentation ¶
Overview ¶
Helpers for ECS log formatting https://www.elastic.co/guide/en/ecs/master/index.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ECSEvent ¶
ECSEvent represents a subset of the fields of the ECS Event object
func (ECSEvent) MarshalLogObject ¶
func (o ECSEvent) MarshalLogObject(enc zapcore.ObjectEncoder) error
type ECSHTTP ¶
type ECSHTTP struct { Request ECSRequest Response ECSResponse }
ECSHTTP represents a subset of the fields of the ECS HTTP object
func (ECSHTTP) MarshalLogObject ¶
func (o ECSHTTP) MarshalLogObject(enc zapcore.ObjectEncoder) error
type ECSRequest ¶
type ECSRequest struct {
Method string
}
ECSRequest represents a subset of the fields of the ECS HTTP Request object
func (ECSRequest) MarshalLogObject ¶
func (o ECSRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
type ECSResponse ¶
type ECSResponse struct {
StatusCode int
}
ECSResponse represents a subset of the fields of the ECS HTTP Response object
func (ECSResponse) MarshalLogObject ¶
func (o ECSResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
type ECSTrace ¶ added in v0.0.9
type ECSTrace struct {
ID string
}
ECSTrace represents a subset of the fields of the ECS Trace object
func (ECSTrace) MarshalLogObject ¶ added in v0.0.9
func (o ECSTrace) MarshalLogObject(enc zapcore.ObjectEncoder) error
type ECSURL ¶
type ECSURL struct {
Original string
}
ECSURL represents a subset of the fields of the ECS URL object
func (ECSURL) MarshalLogObject ¶
func (o ECSURL) MarshalLogObject(enc zapcore.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.