Logstash "_grokparsefailure" in output

I placed my filter.conf file after the file containing ruby filter and it worked.
Thank you @magnusbaeck.