package
0.0.0-20240716170108-97c6e4261ae0
Repository: https://github.com/viaq/cluster-logging-load-client.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
LogLabelSet creates a label set based on the configured options.
NewElasticsearchLogContent returns a byte array representing the json content for a log to be consumed by Elasticsearch.
No description provided by the author
RandomLog returns a log of a given type from the requested sample set.

# Constants

ApplicationLogType represents a log that is likely to be seen in an application runtime environment.
ClientHostOnlyOption creates a label set with only the client and host label.
ClientOnlyOption creates a label set with only the client label.
CRIOFormat formats a log to appear in CRIO style.
CRIOFormat formats a log to appear in CSV style.
ElasticsearchClientType uses an Elasticsearch client to forward logs.
FileClientType uses a file to write logs to.
JSONFormat formats a log to appear in JSON style.
LokiClientType uses a Promtail client to forward logs.
SyntheticLogType represents a log that is composed of random alphabetical characters of a certain size.
SyntheticSampleSelection is a string of characters a SyntheticLogType will use to create a synthetic log.

# Structs

ElasticsearchLogContent describes the json content for logs for Elasticsearch.
LogGenerator describes an object which generates logs.
Options describes the settings that can be modified for the querier.

# Type aliases

ClientType describes the type of client to use for querying logs.
Format describes the way a log should be formatted.
LabelSetOptions describes which labels to include.
LogType describes the type of generated log.