PostgreSQL can generate gigabytes of logs per day. Lots of data is good if you want to investigate a specific event, but it is not what you will use for daily monitoring of database health.
In this recipe, we'll look at how to perform a post analysis of our log files and get reports (and insights) about what has happened in a given period of time.
A different approach is to perform real-time analysis of queries through the pg_stat_statements extension, which will be covered in the next recipe.