Documentation ¶
Overview ¶
ECS event mapping functions.
ECS jumplist mapping functions.
ECS specification.
Index ¶
Constants ¶
View Source
const (
Version = "8.11"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Evt ¶
type Evt struct { Kind string `json:"kind,omitempty"` Module string `json:"module,omitempty"` Dataset string `json:"dataset,omitempty"` Severity int64 `json:"severity,omitempty"` ID string `json:"id,omitempty"` Code string `json:"code,omitempty"` Provider string `json:"provider,omitempty"` Timezone string `json:"timezone,omitempty"` Created time.Time `json:"created,omitempty"` Ingested time.Time `json:"ingested,omitempty"` Original string `json:"original,omitempty"` Hash string `json:"hash,omitempty"` }
type Log ¶ added in v0.27.0
type Log struct { Ecs Ecs `json:"ecs"` Agent Agent `json:"agent"` Base Base `json:"base"` File File `json:"file,omitempty"` Event Evt `json:"event,omitempty"` Host Host `json:"host,omitempty"` User User `json:"user,omitempty"` Process Process `json:"process,omitempty"` }
func MapJumpList ¶ added in v0.27.0
type Process ¶
type Process struct { PID int64 `json:"pid,omitempty"` ThreadID int64 `json:"thread.id,omitempty"` EntityID string `json:"entity_id,omitempty"` Start time.Time `json:"start,omitempty"` Name string `json:"name,omitempty"` Title string `json:"title,omitempty"` Args []string `json:"args,omitempty"` ArgsCount int64 `json:"args_count,omitempty"` Executable string `json:"executable,omitempty"` CommandLine string `json:"command_line,omitempty"` WorkingDirectory string `json:"working_directory,omitempty"` }
Click to show internal directories.
Click to hide internal directories.