How to parse CouchPotato logs using Logstash

This is a quick Logstash configuration share to parse CouchPotato logs for display in Kibana interface. This guide assumes that you already have an ELK stack installed. If you don't, check out my guide on how to get up and running with ELK Stack here

Creating Pattern Variables

Pattern variables are basically regular expressions that have been given a name recognized by grok. To define a pattern all you need to do is create a text file and tell Logstash where to find extra patterns (but that's later).

Howto view and analyze your logs on a web page

Recently I started having some problems with my DD-WRT router. I was having some connection problems and occasional reboots. So, to deal with the problem, I wanted to collect some data from the router in the form of logs. Luckily for me, DD-WRT has a syslogd service which is could send logs to a syslog server on another machine over TCP (or UDP?) connection. Since I know close to nothing in that area, I went to the next best trusted source - Google!