New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All visitor ip address and provider is same #7059
Comments
Can you post a few example log lines here? Otherwise you might want to ask this question in Forum: http://forum.piwik.org/ |
Thanks for your reply. The address, 1xx.1xx.2x.130 is the IP address of Windows Server and the address, 1xx.1xx.2x.x27 is the IP address of the client' s PC. I run the following command in cmd in Windows Server. Thanks in advance. |
Thx! This seems to work fine for me. Make sure to append the option I tried it on a Ubuntu with Python 2.7.6 there is a chance it does not work on a windows server. Maybe someone else can try to reproduce it? Can you maybe try to run the import logs script against your Piwik from a Linux? |
Thanks for reply. |
Thx! Must be a bug then. Not sure re milestone, putting it into 2.11 for now but might have to move it later. I think we should also run the log importer tests on travis automated. Just executed them locally and getting this error:
I will create an issue for this |
Thank you very much. |
@chungsm I've tested the log importer on windows server 2012 R2 and it works. I can't reproduce the bug you're experiencing. Can you try the latest log importer script: https://raw.githubusercontent.com/piwik/piwik/master/misc/log-analytics/import_logs.py ? Note: If the token auth is incorrect (ie, it isn't for a super user or a user w/ admin access to the site the visits are for) the IP address will default to the IP of the machine sending the request. |
Hi @chungsm |
Please see solution in this FAQ: https://matomo.org/faq/troubleshooting/faq_17710/ |
I have installed the Piwik 2.10 on RedHat server. I copied the iis logs and apache access logs into the Redhat Server. Both iis logs and apache access logs are imported locally into the database successfully and the visitors' information are displayed normally.
I have installed Python 2.7.5 and copied import_logs.py in another Windows 2008 R2 Server. And I have remotely imported the iis logs from the Windows Server into the Piwik on the RedHat Server. But all visitors' ip addresses are same as that of the Winodws Server and providers are also the same.
I have tried to solve the problem but failed.
Please give me advice.
Thanks in advance.
The text was updated successfully, but these errors were encountered: