Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { ContainerTimezoneHeuristicEnabled bool `json:"LAConfigContainerTimezoneHeuristicEnabled"` // Detect container time zones ContainersLogsDetectionEnabled bool `json:"LAConfigContainersLogsDetectionEnabled"` // Detect logs inside containers DateSearchLimit_Bytes int `json:"LAConfigDateSearchLimit_Bytes"` // Defines the number of characters in every log line (starting from the first character in the line) where the timestamp is searched. DefaultTimezone string `json:"LAConfigDefaultTimezone"` // Default timezone for agent if more specific configurations is not defined. EventLogQueryTimeout_Sec int `json:"LAConfigEventLogQueryTimeout_Sec"` // Defines the maximum timeout value, in seconds, for the query extracting Windows Event Logs IISDetectionEnabled bool `json:"LAConfigIISDetectionEnabled"` // Detect IIS logs LogScannerLinuxNfsEnabled bool `json:"LAConfigLogScannerLinuxNfsEnabled"` // Detect logs on Network File Systems (NFS) MaxLgisPerEntityCount int `json:"LAConfigMaxLgisPerEntityCount"` // Defines the maximum number of log group instances per entity after which, the new automatic ones wouldn't be added. MinBinaryDetectionLimit_Bytes int `json:"LAConfigMinBinaryDetectionLimit_Bytes"` // Defines the minimum number of bytes in log file required for binary detection. MonitorOwnLogsEnabled bool `json:"LAConfigMonitorOwnLogsEnabled"` // Enabling this option may affect your DDU consumption. For more details, see [documentation](https://dt-url.net/hp43ef8). OpenLogFilesDetectionEnabled bool `json:"LAConfigOpenLogFilesDetectionEnabled"` // Detect open log files SeverityDetectionLimit_Bytes int `json:"LAConfigSeverityDetectionLimit_Bytes"` // Defines the number of characters in every log line (starting from the first character in the line) where severity is searched. SeverityDetectionLinesLimit int `json:"LAConfigSeverityDetectionLinesLimit"` // Defines the number of the first lines of every log entry where severity is searched. SystemLogsDetectionEnabled bool `json:"LAConfigSystemLogsDetectionEnabled"` // (Linux: syslog, message log) (Windows: system, application, security event logs) UTCAsDefaultContainerTimezone bool `json:"LAConfigUTCAsDefaultContainerTimezone"` // Deprecated for OneAgent 1.247+ 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.