Unable to run log file analysis could not detect php or file does not exist

Hi I have installed Matomo 3.11.0, python, php and my sql. We are trying to use log analytics. As per the guide - How to use Log Analytics tool User Guide - Analytics Platform - Matomo python is on c:\ matomo and iis is on d:\inetpub and weblogs in d:\weblogs

When I run cmd prompt as admin and try to import log files I get this error could not detect php c:\Python27>python d:\inetpub\example.web.org.uk\misc\log-analytics\import_log
s.py --url=http://example.web.org.uk --idsite=1 --recorders=4 --enable-http-er
rors --enable-http-redirects --enable-static --enable-bots access.log --user=Sup
er --password=super
Fatal error: We couldn’t detect PHP. It might help to add your php.exe to the pa
th or alternatively run the importer using the --login and --password option

if I change the syntax to use login I get following error with or without wild card and if specifying path of log files - log file does not exist ?

=====> Warning: File u_ex17128.log does not exist <=====

any help would be much appreciated.

Have you tried specifying an absolute path? I have no idea how python reads paths on Windows.

ok figured this out.

ok using command from - this topic works - Log Analytics Import Help can I use a wildcard for the logs files ?

Using Importlogs.py on Windows to import multiple log files Does any know how to import multiple log file using windows. I need to import several months for several websites.