{"action":"opened","issue":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/1019","repository_url":"https://api.github.com/repos/allinurl/goaccess","labels_url":"https://api.github.com/repos/allinurl/goaccess/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/allinurl/goaccess/issues/1019/comments","events_url":"https://api.github.com/repos/allinurl/goaccess/issues/1019/events","html_url":"https://github.com/allinurl/goaccess/issues/1019","id":298041662,"number":1019,"title":"Problem translating nginx config format ($time_iso8601","user":{"login":"przemoc","id":142372,"avatar_url":"https://avatars1.githubusercontent.com/u/142372?v=4","gravatar_id":"","url":"https://api.github.com/users/przemoc","html_url":"https://github.com/przemoc","followers_url":"https://api.github.com/users/przemoc/followers","following_url":"https://api.github.com/users/przemoc/following{/other_user}","gists_url":"https://api.github.com/users/przemoc/gists{/gist_id}","starred_url":"https://api.github.com/users/przemoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemoc/subscriptions","organizations_url":"https://api.github.com/users/przemoc/orgs","repos_url":"https://api.github.com/users/przemoc/repos","events_url":"https://api.github.com/users/przemoc/events{/privacy}","received_events_url":"https://api.github.com/users/przemoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T22:26:41Z","updated_at":"2018-02-17T22:26:41Z","closed_at":null,"author_association":"NONE","body":"I wanted to try this tool, but I'm having a little problem in converting following nginx format, which I dubbed `iso8601_host_timed`:\r\n```\r\n$time_iso8601: $remote_addr $remote_user ($server_name) $host \"$request\" $status $body_bytes_sent [$request_time] \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\"\r\n```\r\nI thought that following goaccess config should fit it:\r\n```\r\ndate-format %F\r\ntime-format %T%:z\r\nlog-format %dT%t: %h %e (%^) %v \"%r\" %s %b [%T] \"%R\" \"%u\" \"~h\"\r\n```\r\nbut it's not working. I verified that date+time-format is correct\r\n```\r\n$ date +%FT%T%:z\r\n2018-02-17T23:14:07+01:00\r\n```\r\n\r\nExample from access.log:\r\n```\r\n2018-02-17T06:30:19+01:00: 46.229.164.98 - (przemoc.net) przemoc.net \"GET /robots.txt HTTP/1.1\" 404 162 [0.090] \"-\" \"Mozilla/5.0 (compatible; SemrushBot/1.2~bl; +http://www.semrush.com/bot.html)\" \"-\"\r\n```\r\n\r\ngoaccess output:\r\n```\r\nParsed 1 lines producing the following errors:\r\n\r\nToken '06' doesn't match specifier '%t'\r\n\r\nFormat Errors - Verify your log/date/time format\r\n```\r\n\r\nI'm using goaccess 1.2 in debian stretch (from stretch-backports repository).\r\nCan you help a bit in finding proper config?"}}
{"actor":{"display_login":"przemoc"}}