gcp get-log-names
Get log names
Description
get names for gcp logs
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
Examples
Input:
Output:[
"projects/macro-context-293714/logs/GCEGuestAgent",
"projects/macro-context-293714/logs/OSConfigAgent",
"projects/macro-context-293714/logs/apache_access"
]
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "gcp" |
Service Instance | |
Namespace | |
Object Type | "logs" |
Object ID |
Please see Access Control for details.