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).