{"action":"created","issue":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/348","labels_url":"https://api.github.com/repos/allinurl/goaccess/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/allinurl/goaccess/issues/348/comments","events_url":"https://api.github.com/repos/allinurl/goaccess/issues/348/events","html_url":"https://github.com/allinurl/goaccess/issues/348","id":124139280,"number":348,"title":"Apache Combined Log Format Not Working on RHEL 5/6","user":{"login":"urmilvinod","id":16469048,"avatar_url":"https://avatars.githubusercontent.com/u/16469048?v=3","gravatar_id":"","url":"https://api.github.com/users/urmilvinod","html_url":"https://github.com/urmilvinod","followers_url":"https://api.github.com/users/urmilvinod/followers","following_url":"https://api.github.com/users/urmilvinod/following{/other_user}","gists_url":"https://api.github.com/users/urmilvinod/gists{/gist_id}","starred_url":"https://api.github.com/users/urmilvinod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urmilvinod/subscriptions","organizations_url":"https://api.github.com/users/urmilvinod/orgs","repos_url":"https://api.github.com/users/urmilvinod/repos","events_url":"https://api.github.com/users/urmilvinod/events{/privacy}","received_events_url":"https://api.github.com/users/urmilvinod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T23:09:28Z","updated_at":"2015-12-29T09:15:38Z","closed_at":null,"body":"Hi - \r\nI am getting following issue on RHEL 5 and 6.\r\n\r\nError (goacccess -f access_log):\r\n=======================================================\r\nGoAccess - version 0.9.7 - Dec 28 2015 16:48:22\r\nConfig file: /usr/local/etc/goaccess.conf\r\n\r\nFatal error has occurred\r\nError occured at: src/goaccess.c - main - 1062\r\nNothing valid to process. Verify your date/time/log format.\r\n\r\n\r\n=======================================================\r\n\r\nConfiguration:\r\n=======================================================\r\nRHEL 5 and 6: \r\nLinux  2.6.18-371.6.1.el5 #1 SMP Tue Feb 18 11:42:11 EST 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nApache Log Format:\r\nLogFormat \"%h %{X-FORWARDED-FOR}i %l %u %t %D \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\" \\\"%{COOKIE1}C|%{COOKIE2}C|%{COOKIE3}C\\\"\" combined\r\n\r\n\r\nGoAccess Config:\r\ntime-format %H:%M:%S\r\ndate-format %d/%b/%Y\r\nlog-format %h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"\r\n\r\n\r\n=======================================================\r\n\r\nExample Access Log:\r\n=======================================================\r\n97.97.97.97 98.98.98.98 - - [28/Dec/2015:04:02:07 -0500] 561 \"HEAD / HTTP/1.0\" 403 - \"-\" \"-\" \"-|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:08 -0500] 168048 \"GET /myapp/homePage.html?site_preference=normal HTTP/1.1\" 200 56956 \"http://www.google.com/goodle.html\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"-|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:09 -0500] 20558 \"GET /myapp/resources/js/lib/jquery/jquery.idle-timer-0.9.100511.js HTTP/1.1\" 200 3043 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 8435 \"GET /myapp/resources/js/lib/jquery/jquery.cookie.js HTTP/1.1\" 200 702 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 37570 \"GET /myapp/resources/js/lib/jquery/jquery-ui-1.8.16.custom.min.js HTTP/1.1\" 200 52950 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 91548 \"GET /myapp/resources/js/lib/jquery/jquery-1.7.2.min.js HTTP/1.1\" 200 33639 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 25155 \"GET /myapp/resources/js/lib/jquery/jquery.qtip.min.js HTTP/1.1\" 200 14352 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 10254 \"GET /myapp/resources/js/lib/jquery/autoellipsis/jquery.autoellipsis-1.0.10.min.js HTTP/1.1\" 200 1673 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 21517 \"GET /myapp/resources/js/lib/jquery/jquery.async.js HTTP/1.1\" 200 459 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n97.97.97.97 98.98.98.98, 99.99.99.99 - - [28/Dec/2015:04:02:10 -0500] 14639 \"GET /myapp/resources/js/lib/datatables/jquery.dataTables.min.js HTTP/1.1\" 200 21068 \"http://www.google.com/homePage.html?site_preference=normal\" \"Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25\" \"ouweom10qpwasmxa2139128ns:asdlajdasld|-|-\"\r\n\r\n\r\n=======================================================\r\n\r\nAppreciate a quick suggestion/fix. Thanks"},"comment":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/comments/167754084","html_url":"https://github.com/allinurl/goaccess/issues/348#issuecomment-167754084","issue_url":"https://api.github.com/repos/allinurl/goaccess/issues/348","id":167754084,"user":{"login":"allinurl","id":5005367,"avatar_url":"https://avatars.githubusercontent.com/u/5005367?v=3","gravatar_id":"","url":"https://api.github.com/users/allinurl","html_url":"https://github.com/allinurl","followers_url":"https://api.github.com/users/allinurl/followers","following_url":"https://api.github.com/users/allinurl/following{/other_user}","gists_url":"https://api.github.com/users/allinurl/gists{/gist_id}","starred_url":"https://api.github.com/users/allinurl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allinurl/subscriptions","organizations_url":"https://api.github.com/users/allinurl/orgs","repos_url":"https://api.github.com/users/allinurl/repos","events_url":"https://api.github.com/users/allinurl/events{/privacy}","received_events_url":"https://api.github.com/users/allinurl/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T09:15:38Z","updated_at":"2015-12-29T09:15:38Z","body":"I see that you have `X-FORWARDED-FOR` which is still not supported. However, I'm working to implement this since it is part of issue #78.\r\n\r\nIf you just need to grab the `%h` part of it, then you can use:\r\n\r\n    %h %^[%d:%t %^] %D \"%r\" %s %b \"%R\" \"%u\""}}