splunk

package
v0.0.0-...-a04fee8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSplunkDevops8Hosts

func NewSplunkDevops8Hosts(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewSplunkDevopsGroupBy

func NewSplunkDevopsGroupBy(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewSplunkDevopsSingleHost

func NewSplunkDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewSplunkDevopsSingleHost12hr

func NewSplunkDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

Types

type SplunkCommon

type SplunkCommon struct {
	bulkQuerygen.CommonParams
}

type SplunkDevops

type SplunkDevops struct {
	SplunkCommon
	DatabaseName string
}

SplunkDevops produces Influx-specific queries for all the devops query types.

func (*SplunkDevops) Dispatch

func (d *SplunkDevops) Dispatch(i int) bulkQuerygen.Query

Dispatch fulfills the QueryGenerator interface.

func (*SplunkDevops) MaxCPUUsage12HoursByMinuteOneHost

func (d *SplunkDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteEightHosts

func (d *SplunkDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteFourHosts

func (d *SplunkDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteOneHost

func (d *SplunkDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteSixteenHosts

func (d *SplunkDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts

func (d *SplunkDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)

func (*SplunkDevops) MaxCPUUsageHourByMinuteTwoHosts

func (d *SplunkDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)

func (*SplunkDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost

func (d *SplunkDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)

MeanCPUUsageDayByHourAllHosts populates a Query with a query that looks like: SELECT mean(usage_user) from cpu where time >= '$DAY_START' and time < '$DAY_END' group by time(1h),hostname

type SplunkDevops8Hosts

type SplunkDevops8Hosts struct {
	SplunkDevops
}

SplunkDevops8Hosts produces Influx-specific queries for the devops groupby case.

func (*SplunkDevops8Hosts) Dispatch

func (d *SplunkDevops8Hosts) Dispatch(i int) bulkQuerygen.Query

type SplunkDevopsGroupby

type SplunkDevopsGroupby struct {
	SplunkDevops
}

SplunkDevopsGroupby produces Influx-specific queries for the devops groupby case.

func (*SplunkDevopsGroupby) Dispatch

func (d *SplunkDevopsGroupby) Dispatch(i int) bulkQuerygen.Query

type SplunkDevopsSingleHost

type SplunkDevopsSingleHost struct {
	SplunkDevops
}

SplunkDevopsSingleHost produces Influx-specific queries for the devops single-host case.

func (*SplunkDevopsSingleHost) Dispatch

type SplunkDevopsSingleHost12hr

type SplunkDevopsSingleHost12hr struct {
	SplunkDevops
}

SplunkDevopsSingleHost12hr produces Influx-specific queries for the devops single-host case over a 12hr period.

func (*SplunkDevopsSingleHost12hr) Dispatch

Jump to

Keyboard shortcuts

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