{"action":"created","issue":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/673","repository_url":"https://api.github.com/repos/allinurl/goaccess","labels_url":"https://api.github.com/repos/allinurl/goaccess/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/allinurl/goaccess/issues/673/comments","events_url":"https://api.github.com/repos/allinurl/goaccess/issues/673/events","html_url":"https://github.com/allinurl/goaccess/issues/673","id":211076317,"number":673,"title":"Extracting virtual host from the file name","user":{"login":"SeLLeRoNe","id":9599441,"avatar_url":"https://avatars0.githubusercontent.com/u/9599441?v=3","gravatar_id":"","url":"https://api.github.com/users/SeLLeRoNe","html_url":"https://github.com/SeLLeRoNe","followers_url":"https://api.github.com/users/SeLLeRoNe/followers","following_url":"https://api.github.com/users/SeLLeRoNe/following{/other_user}","gists_url":"https://api.github.com/users/SeLLeRoNe/gists{/gist_id}","starred_url":"https://api.github.com/users/SeLLeRoNe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeLLeRoNe/subscriptions","organizations_url":"https://api.github.com/users/SeLLeRoNe/orgs","repos_url":"https://api.github.com/users/SeLLeRoNe/repos","events_url":"https://api.github.com/users/SeLLeRoNe/events{/privacy}","received_events_url":"https://api.github.com/users/SeLLeRoNe/received_events","type":"User","site_admin":false},"labels":[{"id":551088693,"url":"https://api.github.com/repos/allinurl/goaccess/labels/log-processing","name":"log-processing","color":"0052cc","default":false},{"id":47742145,"url":"https://api.github.com/repos/allinurl/goaccess/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-01T13:08:33Z","updated_at":"2017-03-02T15:03:32Z","closed_at":"2017-03-02T14:42:11Z","body":"Hi there, \r\ni'm trying to implement GoAccess for monitor my server and all the hosted domains.\r\n\r\nThe only problem is that i don't have the virtual host inside the log file  but in the filename itself (DirectAdmin control panel for instance).\r\n\r\nSo i have all the logs in: /var/log/httpd/domains/\r\nAnd they look like this:\r\n\r\n```\r\nhome.test-server.it.error.log\r\nhome.test-server.it.log\r\ntest-domain.it.error.log\r\ntest-domain.it.log\r\n\r\n```\r\nI've managed to create scripts to look for each file and import them, overall everything is working but i don't have a per-virtual host information, so is quite huge output more or less useful as overall, but would be nice to be able to see statistics on a per-domain (virtual-host) basis...\r\n\r\nAnyone have any hint on how to acchieve that?\r\n\r\nAlso, i've got a question, using the options to save the db and load it to have historycal data is very useful, but what if i load multiple times the same file? Will this not be merged right increasing the visit even if those were counted before, am i right? Any way to check already processed data?\r\n\r\nThanks everyone\r\nBest regards\r\nAndrea"},"comment":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/comments/283677504","html_url":"https://github.com/allinurl/goaccess/issues/673#issuecomment-283677504","issue_url":"https://api.github.com/repos/allinurl/goaccess/issues/673","id":283677504,"user":{"login":"SeLLeRoNe","id":9599441,"avatar_url":"https://avatars0.githubusercontent.com/u/9599441?v=3","gravatar_id":"","url":"https://api.github.com/users/SeLLeRoNe","html_url":"https://github.com/SeLLeRoNe","followers_url":"https://api.github.com/users/SeLLeRoNe/followers","following_url":"https://api.github.com/users/SeLLeRoNe/following{/other_user}","gists_url":"https://api.github.com/users/SeLLeRoNe/gists{/gist_id}","starred_url":"https://api.github.com/users/SeLLeRoNe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeLLeRoNe/subscriptions","organizations_url":"https://api.github.com/users/SeLLeRoNe/orgs","repos_url":"https://api.github.com/users/SeLLeRoNe/repos","events_url":"https://api.github.com/users/SeLLeRoNe/events{/privacy}","received_events_url":"https://api.github.com/users/SeLLeRoNe/received_events","type":"User","site_admin":false},"created_at":"2017-03-02T15:03:32Z","updated_at":"2017-03-02T15:03:32Z","body":"Thanks, but actually i cannot find the information you're refering to in the man page, which section should i investigate deeper?\r\nAlso, i saw that is possible to start GoAccess as service to have live data, in that case i would i have to start it to parse mulitple files (or even better folders) adding the virtual host as i did for the static file generation?\r\n\r\nThanks again for your time and patience :)"}}
{"actor":{"display_login":"SeLLeRoNe"}}