timestampconfiguration

package
v1.64.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MatcherTypes = struct {
	ContainerName          MatcherType
	DtEntityContainerGroup MatcherType
	DtEntityProcessGroup   MatcherType
	HostTag                MatcherType
	K8SContainerName       MatcherType
	K8SDeploymentName      MatcherType
	K8SNamespaceName       MatcherType
	LogSource              MatcherType
	LogSourceOrigin        MatcherType
	ProcessTechnology      MatcherType
}{
	"container.name",
	"dt.entity.container_group",
	"dt.entity.process_group",
	"host.tag",
	"k8s.container.name",
	"k8s.deployment.name",
	"k8s.namespace.name",
	"log.source",
	"log.source.origin",
	"process.technology",
}
View Source
var Operators = struct {
	Matches Operator
}{
	"MATCHES",
}

Functions

This section is empty.

Types

type EntryBoundary added in v1.64.0

type EntryBoundary struct {
	Pattern *string `json:"pattern,omitempty"`
}

func (*EntryBoundary) MarshalHCL added in v1.64.0

func (me *EntryBoundary) MarshalHCL(properties hcl.Properties) error

func (*EntryBoundary) Schema added in v1.64.0

func (me *EntryBoundary) Schema() map[string]*schema.Schema

func (*EntryBoundary) UnmarshalHCL added in v1.64.0

func (me *EntryBoundary) UnmarshalHCL(decoder hcl.Decoder) error

type Matcher

type Matcher struct {
	Attribute MatcherType `json:"attribute"` // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology`
	Operator  Operator    `json:"operator"`  // Possible Values: `MATCHES`
	Values    []string    `json:"values"`
}

func (*Matcher) MarshalHCL

func (me *Matcher) MarshalHCL(properties hcl.Properties) error

func (*Matcher) Schema

func (me *Matcher) Schema() map[string]*schema.Schema

func (*Matcher) UnmarshalHCL

func (me *Matcher) UnmarshalHCL(decoder hcl.Decoder) error

type MatcherType

type MatcherType string

type Matchers

type Matchers []*Matcher

func (Matchers) MarshalHCL

func (me Matchers) MarshalHCL(properties hcl.Properties) error

func (*Matchers) Schema

func (me *Matchers) Schema() map[string]*schema.Schema

func (*Matchers) UnmarshalHCL

func (me *Matchers) UnmarshalHCL(decoder hcl.Decoder) error

type Operator

type Operator string

type Settings

type Settings struct {
	Config_item_title string         `json:"config-item-title"`           // Name
	Date_search_limit *int           `json:"date-search-limit,omitempty"` // Defines the number of characters in every log line (starting from the first character in the line) where the timestamp is searched.
	Date_time_pattern string         `json:"date-time-pattern"`           // Date-time pattern
	Enabled           bool           `json:"enabled"`                     // This setting is enabled (`true`) or disabled (`false`)
	Entry_boundary    *EntryBoundary `json:"entry-boundary,omitempty"`    // Optional field. Enter a fragment of the line text that starts the entry. No support for wildcards - the text is treated literally.
	Matchers          Matchers       `json:"matchers,omitempty"`
	Scope             *string        `json:"-" scope:"scope"` // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
	Timezone          string         `json:"timezone"`        // Timezone
	InsertAfter       string         `json:"-"`
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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