You didn't specify your location, but in some counties like the Netherlands, it's not legal to store PI (personally identifiable) data that long. There is no reason to keep access logs for 3+ years. What are you ever going to do with that data?
Like others here said, extract what you want to keep (unique visitors per day or so) and throw the rest out after a few weeks.
Like others here said, extract what you want to keep (unique visitors per day or so) and throw the rest out after a few weeks.