Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13974

How to import specific url with the python script?

$
0
0

@Velborg wrote:

Hello guys,

I have a problem when i am parsing with the import_logs.py script in a global log.
I created 4 differents sites (ex : foo.bar/foo, foo.bar/bar, foo.bar/foobar, foo.bar/barfoo), that mean in piwik i have 4 different ID.
All of them are logging in the same log (foo.bar.log) but when i want to parse the log everything in the log is parsed.

in fact when i parse the log i need to parse the specific url :
when importing logs foo.bar.log for ID 1 i only need the info from foo.bar/foo
when importing logs foo.bar.log for ID 2 i only need the info from foo.bar/bar
Etc..
Actually when i am importing the foo.bar.log it's importing all the resquests instead of specified sub-sites (that mean all my 4 sites have the same stats but they should not).

Is it possible to just import one of the sub-sites (foo.bar/foo for example) instead of the logs from all 4 sub-sites together ?

Velborg

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 13974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>