exporter

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Console

func Console(logs map[string]map[string]*pipelines.LogStats, isFinal bool)

This function receives the map of logs created by the processor

func File

func File(logs []map[string]map[string]*pipelines.LogStats)

func ShipLogs

func ShipLogs(logs map[string]map[string]*pipelines.LogStats) (err error)

Types

type DataSentTcp

type DataSentTcp struct {
	Origin string       `json:"origin"`
	Data   []TcpLogSent `json:"tcpLogSent"`
}

type TcpLogSent

type TcpLogSent struct {
	Count     int       `json:"count"`
	FirstSeen time.Time `json:"firstSeen"`
	LastSeen  time.Time `json:"lastSeen"`
	Message   string    `json:"message"`
}

Jump to

Keyboard shortcuts

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