So I was trying to ingest nginx log to my logstash and after several attempts to solve this I am exhausted now. Grok is properly working in the debugger but whenever I put that into logtstash _grokparsefailure occurs. Any help will be really appreciated. Thanks in advance.
Below is the log (directly copied from log file in putty) and grok pattern:
EDIT: Attaching log file as pasting here is creating some problem.