logs

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func ApplyDefaults(mappings *meta.Mappings) error

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

func ValidateMappings(mappings *meta.Mappings) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL