Installs the Logtail agent on an Elastic Compute Service (ECS) instance for log collection.
Description
Installs Logtail on an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::InstallLogtail
Properties:
regionId: String
instanceId: String
logTailUserDefinedId: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ID of the ECS instance on which you want to install Logtail. |
String |
Yes |
The ID must be 1 to 30 characters in length. |
|
|
logTailUserDefinedId |
The user-defined ID to be written to /etc/ilogtail/user_defined_id. |
String |
Yes |
The ID must be 1 to 30 characters in length. |
Output
|
Output item |
Description |
Type |
|
exitCode |
String |
|
|
invocationResult |
String |
References
For more information, see ACS::ECS::InstallLogtail at GitHub.