kibana

package
v0.0.0-...-f5948c0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(es *elasticsearch.Client, index string) zap.Sink

func NewCore

func NewCore() zapcore.Core

func RegisterSink

func RegisterSink()

kibana://${token}?index=${index}

Types

type Kibana

type Kibana struct {
	Es    *elasticsearch.Client
	Index string
}

func (*Kibana) Close

func (k *Kibana) Close() error

func (*Kibana) Sync

func (k *Kibana) Sync() error

func (*Kibana) Write

func (k *Kibana) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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