I've been using GoAccess because of this exact line of thinking (logs over js pixel tracker). GoAccess comes with a really nice TUI, a built-in web server, and can export to csv and other formats. It's pretty robust. You just pipe logs right into it and it starts crunching.
I had a manager ask to include Google Analytics on a government funded site a couple week ago.
Instead I sent nice HTML reports generated by GoAccess from access logs.
Highly recommend.
Somebody mentioned GoAccess. I haven't tried it but it looks good imo.