{"action":"closed","issue":{"url":"https://api.github.com/repos/allinurl/goaccess/issues/382","repository_url":"https://api.github.com/repos/allinurl/goaccess","labels_url":"https://api.github.com/repos/allinurl/goaccess/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/allinurl/goaccess/issues/382/comments","events_url":"https://api.github.com/repos/allinurl/goaccess/issues/382/events","html_url":"https://github.com/allinurl/goaccess/issues/382","id":137605475,"number":382,"title":"Avoiding special run to initialize on-disk store?","user":{"login":"bard","id":19322,"avatar_url":"https://avatars.githubusercontent.com/u/19322?v=3","gravatar_id":"","url":"https://api.github.com/users/bard","html_url":"https://github.com/bard","followers_url":"https://api.github.com/users/bard/followers","following_url":"https://api.github.com/users/bard/following{/other_user}","gists_url":"https://api.github.com/users/bard/gists{/gist_id}","starred_url":"https://api.github.com/users/bard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bard/subscriptions","organizations_url":"https://api.github.com/users/bard/orgs","repos_url":"https://api.github.com/users/bard/repos","events_url":"https://api.github.com/users/bard/events{/privacy}","received_events_url":"https://api.github.com/users/bard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/allinurl/goaccess/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-01T15:32:56Z","updated_at":"2016-03-07T14:35:15Z","closed_at":"2016-03-07T14:35:15Z","body":"If I understand correctly, right now this is needed for incremental parsing:\r\n\r\n```\r\ngoaccess -f first.log --keep-db-files\r\n```\r\n\r\nFollowed by:\r\n\r\n```\r\ngoaccess -f next.log --load-from-disk --keep-db-files\r\ngoaccess -f another.log --load-from-disk --keep-db-files\r\n```\r\n\r\nIs there a way to avoid the first invocation, and just have the store initialized if it doesn't exist already?\r\n\r\nIf not, is this a reasonable way of initializing the store?\r\n\r\n```\r\ngoaccess -f /dev/null --db-path=/path/to/db  --keep-db-files\r\n```\r\n\r\n\r\n\r\n\r\n"}}