GitHub Action log expiration

In GitHub enterprise, the GitHub action log can be retain 400 days. If we want to retain 5 years logs, how can we do it?
Backup S3 buckets data? But how can we parse this data and get the information quickly