Skip to content
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

Authentication for piwik kog importer #3347

Closed
anonymous-matomo-user opened this issue Aug 27, 2012 · 2 comments
Closed

Authentication for piwik kog importer #3347

anonymous-matomo-user opened this issue Aug 27, 2012 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

I use piwik with import_logs.py script.

python piwik/misc/log-analytics/import_logs.py --url=https://piwik.me.fr/ --idsite=1 --show-progress --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /var/log/lighttpd/access.log.1

But piwik.me.fr is protected by password.
Can you add two options (--username and --password) to command line ?

See this page for more: http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem/2955687#2955687

@robocoder
Copy link
Contributor

It's considered a security vulnerability to have a password as a command-line parameter because it might be visible to others via 'ps'.

If this feature is implemented either prompt for the password, or read it from a config file or environment variable.

@mattab
Copy link
Member

mattab commented Sep 2, 2012

Please make the request as a comment in #3163 thanks

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants