HOWTO: Send your logback to Logstash

I recently started playing around with OpenHAB, which is an excellent home automation application. During my "playing" with the system, I decided to try and run it on a Raspberry Pi 3 Model B. I figured that it's a fast enough computer to handle the load of the OpenHAB. One thing that I've read somewhere was that someone managed to kill 3 SD cards due to extensive logging (completely configurable). So, I thought... What if I could completely bypass writing my logs to local filesystem and go straight to ElasticSearch (via Logstash)?