@Edent I have used Matomo at many different places and am quite happy with it.
It also has a feature to import server logs (https://matomo.org/guide/tracking-data/import-server-logs/) that you might be able to use to backfill your data. I’ve never done that myself, though, so don't know how good that would work.