Ravi Sir's Cards › AWS
Logs tail and query
This revision card explains Logs tail and query. It starts from the need that one error hides in millions of lines. It describes set retention; default never expires. The how-to section notes follow live with a filter. An example on the card is logs Insights: start-query then get-query-results.
Read card text
What this card says
Why do we need it?
One error hides in millions of lines.
What is it?
Set retention; default never expires.
put-retention-policy
How to do it
Follow live with a filter.
aws logs tail --follow
Example
Logs Insights: start-query then get-query-results.