Context: Many people want to export data from Google Analytics and migrate to another analytics tool, but there isn't a ready-to-use tool yet, see this issue of a well-known open-source project.
It seems that it's not possible to get raw logs from Google Analytics, as stated in this question or here as well.
Of course, one could use his own Apache access.log
files, but these files are not always available (for example I haven't stored the logs from 5 years ago, because I knew everything was in Google Analytics, now I see my mistake!).
A partial solution could be: let's export Google Analytics data to Apache-like access.log
files. Then this data can be easily imported in any analytics tool.
Question: I have explored the Google Analytics GUI, but I don't find a feature that allows to batch export all past traffic as a log file in the form (include the referrer, user agent, etc.)
mywebsite.com:5.130.131.132 - - [23/Oct/2016:12:08:58 +0200] "GET /bla/abc.php HTTP/1.1" 302 241 "http://www.blabla.com" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
Is there a feature in Google Analytics that allows to do this?