log

package
v0.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PluginKind = "SplunkLogQuery"

Variables

This section is empty.

Functions

func SplunkLogQuery

func SplunkLogQuery(spl string, options ...Option) query.Option

Types

type Builder

type Builder struct {
	PluginSpec `json:",inline" yaml:",inline"`
}

type Option

type Option func(plugin *Builder) error

func Datasource

func Datasource(datasourceName string) Option

func Query

func Query(spl string) Option

func TimeField

func TimeField(field string) Option

type PluginSpec

type PluginSpec struct {
	Datasource *datasource.Selector `json:"datasource,omitempty" yaml:"datasource,omitempty"`
	Query      string               `json:"query" yaml:"query"`
	TimeField  string               `json:"timeField,omitempty" yaml:"timeField,omitempty"`
}

Jump to

Keyboard shortcuts

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