Documentation ¶
Index ¶
- Constants
- func AddFixedTailConfig(input map[string]interface{})
- func GetClusterNameFromEc2Tagger() string
- func GetECSClusterName(sectionKey string, input map[string]interface{}) string
- func GetEKSClusterName(sectionKey string, input map[string]interface{}) string
- func GetFileStateFolder() (fileStateFolder string)
- func ValidateLogRetentionSettings(logConfigs []interface{}, currPath string) []interface{}
Constants ¶
View Source
const ( Data_Format_Key = "data_format" Data_Format_Value = "value" Data_Type_Key = "data_type" Data_Type_Value = "string" Name_Override_Key = "name_override" Name_Override_Value = "raw_log_line" )
View Source
const (
EKSClusterNameTagKeyPrefix = "kubernetes.io/cluster/"
)
View Source
const File_State_Folder_Linux = "/opt/aws/amazon-cloudwatch-agent/logs/state"
Variables ¶
This section is empty.
Functions ¶
func AddFixedTailConfig ¶
func AddFixedTailConfig(input map[string]interface{})
func GetClusterNameFromEc2Tagger ¶ added in v1.247346.0
func GetClusterNameFromEc2Tagger() string
func GetECSClusterName ¶ added in v1.247346.0
func GetEKSClusterName ¶ added in v1.247346.0
For ASG case, the ec2 tag may be not ready as soon as the node is started up. In this case, the translator will fail and then the pod will restart.
func GetFileStateFolder ¶
func GetFileStateFolder() (fileStateFolder string)
func ValidateLogRetentionSettings ¶ added in v1.247351.0
func ValidateLogRetentionSettings(logConfigs []interface{}, currPath string) []interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.