How can i push the tomcat logs into elasticsearch it is showing grokparsefailure

I followed this blog post.