← All courses

Logs: analysis and housekeeping

Use the logs to find out in a minute how many errors there are, who hits you most and what your p95 is — and keep logs from eating the disk.

16 tasks
  1. Count server errorseasy
  2. Delete lines by patterneasy
  3. Top-3 IPs from a logmedium
  4. Top IP by server errorsmedium
  5. Mail delivery summary by statusmedium
  6. Migration output from a deploy logmedium
  7. Peak minutemedium
  8. Average Response Timemedium
  9. Median SQL query timemedium
  10. API gateway availability in percentmedium
  11. Checkout latency p95medium
  12. What happened before the first errorhard
  13. Level metrics from a worker logmedium
  14. Truncate the log of a running exporteasy
  15. Size-based logrotate for the queue logmedium
  16. Weekly rotation of the billing logmedium