Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContextTypes = struct { DtEntityProcessGroup ContextType }{ "dt.entity.process_group", }
View Source
var LogSourceTypes = struct { LogPathPattern LogSourceType WindowsEventLog LogSourceType }{ "LOG_PATH_PATTERN", "WINDOWS_EVENT_LOG", }
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Attribute ContextType `json:"attribute"` // Possible Values: `Dt_entity_process_group` Values []string `json:"values"` }
func (*Context) MarshalHCL ¶
func (me *Context) MarshalHCL(properties hcl.Properties) error
type ContextType ¶
type ContextType string
type Contexts ¶
type Contexts []*Context
func (Contexts) MarshalHCL ¶
func (me Contexts) MarshalHCL(properties hcl.Properties) error
type CustomLogSource ¶
type CustomLogSource struct { Type LogSourceType `json:"type"` // Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` Values []string `json:"values"` // It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. }
func (*CustomLogSource) MarshalHCL ¶
func (me *CustomLogSource) MarshalHCL(properties hcl.Properties) error
func (*CustomLogSource) UnmarshalHCL ¶
func (me *CustomLogSource) UnmarshalHCL(decoder hcl.Decoder) error
type LogSourceType ¶
type LogSourceType string
type Settings ¶
type Settings struct { Name string `json:"config-item-title"` // Name Context Contexts `json:"context,omitempty"` // Define Custom Log Source only within context if provided Custom_log_source *CustomLogSource `json:"custom-log-source"` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Scope *string `json:"-" scope:"scope"` // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.