reporter

package
v0.0.0-...-cbcc489 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package reporter holds reporter related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCWSReporter

func NewCWSReporter(hostname string, stopper startstop.Stopper, endpoints *logsconfig.Endpoints, context *client.DestinationsContext) (seccommon.RawReporter, error)

NewCWSReporter returns a new CWS reported based on the fields necessary to communicate with the intake

Types

type RuntimeReporter

type RuntimeReporter struct {
	// contains filtered or unexported fields
}

RuntimeReporter represents a CWS reporter, used to send events to the intake

func (*RuntimeReporter) ReportRaw

func (r *RuntimeReporter) ReportRaw(content []byte, service string, tags ...string)

ReportRaw reports raw (bytes) events to the intake

Jump to

Keyboard shortcuts

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