Documentation
¶
Overview ¶
Package logs supplies the logs profile for ZedSearch's WAL-backed indexes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaults ¶
ApplyDefaults adds log search fields without replacing explicit mappings.
func Normalize ¶
func Normalize(doc map[string]interface{}, mappings *meta.Mappings, now time.Time) (map[string]interface{}, time.Time, error)
Normalize returns a shallow copy with canonical UTC event time. The caller's fields, including message/log and the original _timestamp alias, are preserved. The date format/time_zone of the mapping for the field actually used applies.
func ValidateMappings ¶
Types ¶
This section is empty.