A sleep diary is an important tool for detecting sleep disorders. Of course, it is not always a disorder if a few nights can not sleep well. However, if you sleep badly over a longer period of time, you should keep a sleep diary.
For this purpose, I have created a template as a PDF and as an Excel file.