Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Follow live logs

This revision card explains Follow live logs. It starts from the need that see errors the moment they happen. It describes tail -F keeps going after rotation. The how-to section notes save and see at once with tee. An example on the card is follow and filter errors.

Follow live logs See errors the moment they happen. tail -F keeps going after rotation. Save and see at once with tee. Follow and filter errors.
Follow live logs · Download PNG
Read card text

What this card says

Why do we need it?

See errors the moment they happen.

What is it?

tail -F keeps going after rotation.

How to do it

Save and see at once with tee.

df -h | tee disk.txt

Example

Follow and filter errors.

tail -F app.log | grep ERROR

See all AWS revision cards