datadog list-log-archives
Get the list of configured logs archives with their definition
Description
Get the list of configured logs archives with their definition
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
archive
- (string)
Archive ID
Example: "archive-1"
Default: _None_
Attributes: optional
Examples
Input:
Output:ID NAME QUERY STATE DESTINATION-ACCOUNT DESTINATION-CONTAINER DESTINATION-PATH CLIENT TENANT
a2zcMylnM4OCHpYusxIi3g Nginx Archive source:nginx WORKING testAcc Container1 /container/a2zcMylnM4OCHpYusxIi3g aaaa-1a1a-1a1a-aaaa aaaa-1a1a-1a1a-aaaa
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "archive" |
Object ID | archive |
Please see Access Control for details.