Logstash: Exclude separator lines in logs

    ruby {
        code => '
            if event.get("message").chars.uniq.length == 1
                event.cancel
            end
        '
    }