Skip to main content
  1. Posts/

Log analysis with Grafana and Loki

·1 min
a man from the 15th century with a long beard, a pointy hat reading a large scroll of text, photo realistic

I wanted to play around with Grafana and Loki for a while now, but always found something else to do. Then, the other day, I decided to push my logs to Grafanas cloud stack just for the fun of it.

The installation and integration into my Ubuntu server and docker was easy enough. After a few hours I was shocked how many bad ssh logins were detected (>100) and decided to up my fail2ban rule. I am now blocking failed attempts (3 within 24h) for 150 days and I still receive around 5 attempts per hour.

Nevertheless, I enjoy clicking around in graphs, even though it doesn’t really add any value 😎

jwb
Author
jwb
Something-ops during the day, nowadays mostly asleep during the night.