{"action":"closed","issue":{"url":"https://api.github.com/repos/mneudert/plug_accesslog/issues/6","labels_url":"https://api.github.com/repos/mneudert/plug_accesslog/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mneudert/plug_accesslog/issues/6/comments","events_url":"https://api.github.com/repos/mneudert/plug_accesslog/issues/6/events","html_url":"https://github.com/mneudert/plug_accesslog/issues/6","id":93249554,"number":6,"title":"Graphing","user":{"login":"houshuang","id":61575,"avatar_url":"https://avatars.githubusercontent.com/u/61575?v=3","gravatar_id":"","url":"https://api.github.com/users/houshuang","html_url":"https://github.com/houshuang","followers_url":"https://api.github.com/users/houshuang/followers","following_url":"https://api.github.com/users/houshuang/following{/other_user}","gists_url":"https://api.github.com/users/houshuang/gists{/gist_id}","starred_url":"https://api.github.com/users/houshuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houshuang/subscriptions","organizations_url":"https://api.github.com/users/houshuang/orgs","repos_url":"https://api.github.com/users/houshuang/repos","events_url":"https://api.github.com/users/houshuang/events{/privacy}","received_events_url":"https://api.github.com/users/houshuang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T10:57:50Z","updated_at":"2015-07-07T18:51:02Z","closed_at":"2015-07-07T18:51:02Z","body":"This is totally outside the scope of this plug I know, but I just wanted to mention that I'm thinking about writing a little Phoenix module to graph the access_log. Having the log is great, but obviously you'd like to get some insight from it - I had a quick look at awstats and goaccess, but I don't want to install a bunch of php scripts on my server etc. I'm already serving up a bunch of graphic reports from my server using Highcharts, so creating something that does some very simple graphs of number of requests per day, access time etc should be pretty simple... It could even use the formatting string to decode the access_log :) \r\n\r\nOne thing I still haven't figured out is how to distribute these kinds of \"Phoenix modules\". I have written two plugs myself, and they're fairly self-contained, with tests etc. However, this would require at least a controller, template, etc. Not sure how to distribute that in a way that others could just \"plug it in\" to their own app and get a fully functional \"webstats\" route."}}