Import_logs.py with Apache virtual hosts

My Apache access.log contains reference to virtual hosts :

www.blah.com:80 216.244.x.x - - [17/Oct/2016:07:26:23 +0200] "GET ...
www.example.com:80 206.14.x.x - - [17/Oct/2016:07:26:23 +0200] "GET ...
www.hello.com:80 189.18.x.x - - [17/Oct/2016:07:21:43 +0200] "GET ...

Then doing python import_logs.py --url=http://www.example.com would make no sense because there is not only one website.

How to call import_logs.py when using virtual hosts?

Solution : --url=... is not for each website. This should be the url of piwik itself, e.g. mywebsite.com - This website is for sale! - mywebsite Resources and Information.

--add-sites-new-hosts is useful when working with many virtual hosts.