Hi, Gregorio
Depending on your use cases, you could configure the logs to be exported to an Azure Storage account and then when needed use Azure Data Factory to export them into Azure Data Explorer for analysis.
This article here is a great reference point: Integrate Azure Data Explorer for long-term log retention
It talks to Sentinel, but the concept is the same, keep only the most recent and relevant data that will be queried in Log Analytics, everything else gets archived.