Log analytics seems to be really interesting.
To make usage of log analytics easier / acessible by more users
there should be an easy possibility to set it up and make it start working
at "manage website"/ Website edit
Which give some simple kind of dialog / form to make it work.
A very first approche may look like this:
A) Show hint: "Phyton needs to be installed and working, Log file has to be accesible." B) Where to find log file [field for path] + example for needed format C) Import period [field for date range] + give hint: "use short one for test" + example for needed format D) What to include [checkboxes] - include bots (sets --enable-bots) - include static files (JS, CSS, images, etc.) (sets --enable-static) - include http errors (sets --enable-http-errors) - include http-redirects (sets --enable-http-redirects) E) How to process: E1) How many threads to use [field for number] (sets --recorders=N) + give hint: "use no more than CPU-cores available" E2) How many log lines at once [field for number] (sets --recorder-max-payload-size=N) + give hint: "default: 300" F) Regular import: F1) Should there be a regular import of logs [drop down yes/no] (setup cron automatically) + give hint: "should be disabled on testing" F2) Import frequency of logs [drop down of typical values] (setup cron automatically) G) Save & Start import [Button]
details extracted from https://piwik.org/docs/log-analytics-tool-how-to/
The approach writed more up by hpvd,for start is very good.
Maybe we can setup this as an milestone for piwik 3.
If server side,to provide the details writed by hpvd,in an simple step by step process,so everything can go smooth.And on end as @hpvd writed an button :Start Import Save .
I think the log analytics tool with python is very good,but should be inside Matomo,and once it`s inside from there we can start.
Either server either java,the ip of the user is the same.
In Matomo we should be able to import the Server side tracking from the log file.
In order to merger data,from the Java to Server side,we must have : Unique visitor Ip .
Anyhow the final report by merging data will be more accurate that anything that is on the market,but that needs to happen via the Matomo web interface in order to be fully usable.
I think the Unique IP Identifier could be an good start for merging accurate the data into an Final Report.