Difference between revisions of "Aws logs"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
https://docs.aws.amazon.com/cli/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 delete-log-group]]</code>
  
* <code>[[aws logs create-log-group]]</code>
+
* <code>[[aws logs tail]] $your_group_name --follow</code>
 +
* <code>[[aws logs tail --follow]] [[/aws/eks/]]you-cluster-name/cluster</code>
  
* <code>[[aws logs describe-log-groups]]</code>
+
Streams:
 +
* <code>[[aws logs describe-log-streams]]</code>
 +
* <code>[[aws logs create-log-stream]]</code>
  
 
== All commands ==
 
== All commands ==
Line 15: Line 21:
 
  [[create-log-group]]
 
  [[create-log-group]]
 
  [[create-log-stream]]
 
  [[create-log-stream]]
<pre>
+
delete-destination
delete-destination
+
[[delete-log-group]]
delete-log-group
+
delete-log-stream
delete-log-stream
+
delete-metric-filter
delete-metric-filter
+
delete-query-definition
delete-query-definition
+
delete-resource-policy
delete-resource-policy
+
delete-retention-policy
delete-retention-policy
+
delete-subscription-filter
delete-subscription-filter
+
describe-destinations
describe-destinations
+
describe-export-tasks
describe-export-tasks
+
[[describe-log-groups]]
describe-log-groups
+
describe-log-streams
describe-log-streams
+
describe-metric-filters
describe-metric-filters
+
describe-queries
describe-queries
+
describe-query-definitions
describe-query-definitions
+
describe-resource-policies
describe-resource-policies
+
describe-subscription-filters
describe-subscription-filters
+
disassociate-kms-key
disassociate-kms-key
+
[[filter-log-events]]
filter-log-events
+
[[get-log-events]]
get-log-events
+
get-log-group-fields
get-log-group-fields
+
[[get-log-record]]
get-log-record
+
get-query-results
get-query-results
+
list-tags-log-group
list-tags-log-group
+
put-destination
put-destination
+
put-destination-policy
put-destination-policy
+
put-log-events
put-log-events
+
put-metric-filter
put-metric-filter
+
put-query-definition
put-query-definition
+
put-resource-policy
put-resource-policy
+
put-retention-policy
put-retention-policy
+
put-subscription-filter
put-subscription-filter
+
start-query
start-query
+
stop-query
stop-query
+
tag-log-group
tag-log-group
+
test-metric-filter
test-metric-filter
+
untag-log-group
untag-log-group
+
 
</pre>
+
== Related ==
 +
* <code>[[kubectl logs]]</code>
 +
* <code>[[aws ecs describe-services]] --cluster your-cluster --services service-name | egrep "createdAt|message"</code>
 +
* <code>[[aws rds describe-events]]</code>
  
==See also==
+
== See also ==
 
* {{aws logs}}
 
* {{aws logs}}
* [[Amazon CloudWatch Logs]]
+
* {{Amazon CloudWatch Logs}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 09:09, 5 March 2024

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/logs/index.html

Log groups:

Streams:

All commands[edit]

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[edit]

See also[edit]

Advertising: