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 LogContent MatcherType LogSource MatcherType Loglevel MatcherType ProcessTechnology MatcherType WinlogEventid MatcherType WinlogOpcode MatcherType WinlogProvider MatcherType WinlogTask MatcherType }{ "container.name", "dt.entity.container_group", "dt.entity.process_group", "host.tag", "k8s.container.name", "k8s.deployment.name", "k8s.namespace.name", "log.content", "log.source", "loglevel", "process.technology", "winlog.eventid", "winlog.opcode", "winlog.provider", "winlog.task", }
View Source
var Operators = struct { Matches Operator }{ "MATCHES", }
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct { Attribute MatcherType `json:"attribute"` // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` Operator Operator `json:"operator"` // Possible Values: `MATCHES` Values []string `json:"values"` }
func (*Matcher) MarshalHCL ¶
func (me *Matcher) MarshalHCL(properties hcl.Properties) error
type MatcherType ¶
type MatcherType string
type Matchers ¶
type Matchers []*Matcher
func (Matchers) MarshalHCL ¶
func (me Matchers) MarshalHCL(properties hcl.Properties) error
type Settings ¶
type Settings struct { Name string `json:"config-item-title"` // Name Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) 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. Send_to_storage bool `json:"send-to-storage"` // If `true` matching logs will be included in storage. If `false` matching logs will be excluded from storage. InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.