Hi,
Thank you everyone above for such a great discussion. It has helped me a lot in my nginx configuration. Even I am getting pattern errors when the nginx logs is included.
This is the logfile line.
2017/05/01 16:00:05 [error] 1008#0: *34363 connect() failed (111: Connection refused) while connecting to upstream, client: <client ip address>, server:
mydomain.com, request: "GET /tester HTTP/1.1", upstream: "fastcgi://
127.0.0.1:9000", host: "<some ip address>"
This is the format field in the <Source> tag.
format /^ (<time[^\]]) \[error\] [^\]]: (<Message>(.*)),(<client>client: (.*)),(<server>server:(.*)),(<request>request:(.*)),(<upstream>upstream:(.*)),(<host>host:(.*))?$/
Can you tell me what is wrong with this? I'm erroring out.
Regards
Umashankar