Difference between revisions of "Amazon CloudWatch Logs groups"

From wikieduonline
Jump to navigation Jump to search
(Created page with " * Amazon CloudWatch Logs {{CW}}")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  
 +
* [[describe-log-groups]]
 +
* [[create-log-group]]
 +
* [[delete-log-group]]
  
 +
[[ChatGPT]]:
 +
for log_stream_name in $(aws logs describe-log-streams --log-group-name <log-group-name> --output text --query
 +
'logStreams[*].logStreamName'); do [[aws logs get-log-events]] --log-group-name <log-group-name> --log-stream-name
 +
$log_stream_name --output text --query 'events[*].message' >> all_logs.txt; done
  
* [[Amazon CloudWatch Logs]]
 
  
 +
== Related ==
 +
* [[Amazon CloudWatch Logs]]: [[AWS CloudWatch log streams]]
 +
* [[tee -a]]
  
 +
== See also ==
 +
* {{aws logs}}
 +
* {{AWS CloudWatch}}
  
{{CW}}
+
[[Category:AWS]]

Latest revision as of 10:42, 29 February 2024

Advertising: