{"action":"created","issue":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/1284","repository_url":"https://api.github.com/repos/allinurl/goaccess","labels_url":"https://api.github.com/repos/allinurl/goaccess/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/allinurl/goaccess/issues/1284/comments","events_url":"https://api.github.com/repos/allinurl/goaccess/issues/1284/events","html_url":"https://github.com/allinurl/goaccess/issues/1284","id":374337399,"node_id":"MDU6SXNzdWUzNzQzMzczOTk=","number":1284,"title":"help setting up /etc/goaccess.conf for Heroku django app","user":{"login":"cbplayers","id":44497044,"node_id":"MDQ6VXNlcjQ0NDk3MDQ0","avatar_url":"https://avatars3.githubusercontent.com/u/44497044?v=4","gravatar_id":"","url":"https://api.github.com/users/cbplayers","html_url":"https://github.com/cbplayers","followers_url":"https://api.github.com/users/cbplayers/followers","following_url":"https://api.github.com/users/cbplayers/following{/other_user}","gists_url":"https://api.github.com/users/cbplayers/gists{/gist_id}","starred_url":"https://api.github.com/users/cbplayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbplayers/subscriptions","organizations_url":"https://api.github.com/users/cbplayers/orgs","repos_url":"https://api.github.com/users/cbplayers/repos","events_url":"https://api.github.com/users/cbplayers/events{/privacy}","received_events_url":"https://api.github.com/users/cbplayers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T11:12:48Z","updated_at":"2018-10-26T13:53:44Z","closed_at":null,"author_association":"NONE","body":"I would like to setup the /etc/goaccess.conf file to parse log output from a small Django app hosted at Heroku.   The lines in the log file look like this:\r\n\r\n2018-10-25T17:30:42.988783+00:00 app[web.1]: 10.30.36.33 - - [25/Oct/2018:13:30:42 -0400] \"GET /team/Manitoba-NJCAA_1 HTTP/1.1\" 200 4026 \"-\" \"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\"\r\n\r\nThe /etc/goaccess.conf file \r\ntime-format %H:%M:%S\r\ndate-format %d/%b/%Y\r\nBut I am not sure how to set the log-format?  \r\n\r\nShould I reformat the log file to an existing format?  Or is it better to figure out the log format directive?   Any help with the log-format value would be appreciated, thanks!  Kevin.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/comments/433415529","html_url":"https://github.com/allinurl/goaccess/issues/1284#issuecomment-433415529","issue_url":"https://api.github.com/repos/allinurl/goaccess/issues/1284","id":433415529,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQxNTUyOQ==","user":{"login":"allinurl","id":5005367,"node_id":"MDQ6VXNlcjUwMDUzNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5005367?v=4","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":"2018-10-26T13:53:44Z","updated_at":"2018-10-26T13:53:44Z","author_association":"OWNER","body":"This should work for your case:\r\n\r\n    goaccess access.log --log-format='%^ %v: %h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"' --date-format=%d/%b/%Y --time-format=%T\r\n\r\nor \r\n\r\n```\r\ntime-format %T\r\ndate-format %d/%b/%Y\r\nlog-format %^ %v: %h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"\r\n```"}}
{"actor":{"display_login":"allinurl"}}