AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Get-CWLLogGroupField-LogGroupName <String>-LogGroupIdentifier <String>-Time <Int64>-Select <String>-PassThru <SwitchParameter>-ClientConfig <AmazonCloudWatchLogsConfig>
logGroupIdentifier
or logGroupName
. You must specify one of these parameters, but you can't specify both.
In the results, fields that start with @
are fields generated by CloudWatch Logs. For example, @timestamp
is the timestamp of each log event. For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.
The response results are sorted by the frequency percentage, starting with the highest percentage.
If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
logGroupIdentifier
or logGroupName
, but not both. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
logGroupIdentifier
or logGroupName
, but not both. Required? | False |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
time
, the 15 minutes before this time are queries. If you omit time
, the 8 minutes before and 8 minutes after this time are searched.The time
value is specified as epoch time, which is the number of seconds since January 1, 1970, 00:00:00 UTC
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z