{"action":"created","issue":{"url":"https://api.github.com/repos/dalibo/pgbadger/issues/316","repository_url":"https://api.github.com/repos/dalibo/pgbadger","labels_url":"https://api.github.com/repos/dalibo/pgbadger/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/dalibo/pgbadger/issues/316/comments","events_url":"https://api.github.com/repos/dalibo/pgbadger/issues/316/events","html_url":"https://github.com/dalibo/pgbadger/issues/316","id":193824434,"number":316,"title":"--log-duration doesn't work?","user":{"login":"ericcj","id":53106,"avatar_url":"https://avatars.githubusercontent.com/u/53106?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcj","html_url":"https://github.com/ericcj","followers_url":"https://api.github.com/users/ericcj/followers","following_url":"https://api.github.com/users/ericcj/following{/other_user}","gists_url":"https://api.github.com/users/ericcj/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcj/subscriptions","organizations_url":"https://api.github.com/users/ericcj/orgs","repos_url":"https://api.github.com/users/ericcj/repos","events_url":"https://api.github.com/users/ericcj/events{/privacy}","received_events_url":"https://api.github.com/users/ericcj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T16:49:21Z","updated_at":"2016-12-06T19:10:12Z","closed_at":null,"body":"I'm using RDS with log_statement=all, log_duration=on and log_min_duration_statement=300ms.  I realize this isn't recommended but I don't want to reboot my instance to fix it.  I'm running pgbadger --prefix '%t:%r:%u@%d:[%p]:' --log-duration postgresql.log.2016-12-06-15.  But my report ends up having durations for the \"Histogram of query times\" section but seemingly not associated for the \"Slowest individual queries\" and others:\r\n\r\n![screen shot 2016-12-06 at 11 34 52 am](https://cloud.githubusercontent.com/assets/53106/20934594/b5a75820-bba9-11e6-9153-78f06d2e9efa.png)\r\n\r\nIt sounds like --log-duration is meant to work with this configuration, but specifying it seems to have no effect on that Queries tab (although it does also break the Overview tab timestamp parsing by lumping all the queries into the same second:  \"2016-12-06 15::\").\r\n\r\nThis sounds similar to https://github.com/dalibo/pgbadger/issues/274"},"comment":{"url":"https://api.github.com/repos/dalibo/pgbadger/issues/comments/265242565","html_url":"https://github.com/dalibo/pgbadger/issues/316#issuecomment-265242565","issue_url":"https://api.github.com/repos/dalibo/pgbadger/issues/316","id":265242565,"user":{"login":"darold","id":538862,"avatar_url":"https://avatars.githubusercontent.com/u/538862?v=3","gravatar_id":"","url":"https://api.github.com/users/darold","html_url":"https://github.com/darold","followers_url":"https://api.github.com/users/darold/followers","following_url":"https://api.github.com/users/darold/following{/other_user}","gists_url":"https://api.github.com/users/darold/gists{/gist_id}","starred_url":"https://api.github.com/users/darold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darold/subscriptions","organizations_url":"https://api.github.com/users/darold/orgs","repos_url":"https://api.github.com/users/darold/repos","events_url":"https://api.github.com/users/darold/events{/privacy}","received_events_url":"https://api.github.com/users/darold/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T19:10:12Z","updated_at":"2016-12-06T19:10:12Z","body":"Hi,\r\n\r\nYou don't need to reboot your instance to apply the configuration change required by pgbadger, a reload is enough. If you want to be able to parse your log as it is expected to work with your command line, please download latest code from gihtub, last commit 9fe6b00 fixes this issue. Thanks for the report.\r\n\r\nRegards,"}}
{"actor":{"display_login":"darold"}}