Difference between revisions of "Aws logs"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/index.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/index.html | ||
+ | Log groups: | ||
* <code>[[aws logs describe-log-groups]]</code> | * <code>[[aws logs describe-log-groups]]</code> | ||
* <code>[[aws logs create-log-group]]</code> | * <code>[[aws logs create-log-group]]</code> | ||
+ | |||
+ | * <code>[[aws logs tail]] $your_group_name --follow</code> | ||
+ | |||
+ | Streams: | ||
+ | * <code>[[aws logs describe-log-streams]]</code> | ||
* <code>[[aws logs create-log-stream]]</code> | * <code>[[aws logs create-log-stream]]</code> | ||
− | |||
== All commands == | == All commands == |
Revision as of 15:52, 3 May 2023
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/index.html
Log groups:
aws logs tail $your_group_name --follow
Streams:
All commands
associate-kms-key cancel-export-task create-export-task create-log-group create-log-stream delete-destination delete-log-group delete-log-stream delete-metric-filter delete-query-definition delete-resource-policy delete-retention-policy delete-subscription-filter describe-destinations describe-export-tasks describe-log-groups describe-log-streams describe-metric-filters describe-queries describe-query-definitions describe-resource-policies describe-subscription-filters disassociate-kms-key filter-log-events get-log-events get-log-group-fields get-log-record get-query-results list-tags-log-group put-destination put-destination-policy put-log-events put-metric-filter put-query-definition put-resource-policy put-retention-policy put-subscription-filter start-query stop-query tag-log-group test-metric-filter untag-log-group
Related
kubectl logs
- aws ecs describe-services --cluster your-cluster --services service-name | egrep "createdAt|message"
See also
Advertising: