Extracting logs form archive before ingestion to elasticsearch

hello,
For a project I am working on i am trying to create a centralized automated logging collection and visualisation solution using elasticstack. for this i need to ingest log files from multiple devices to elasticsearch.

the problem i am running into is that all of the log files are written in zip files which can not be read propperly by elasticsearch. I want to find a solution for extracting the log files from these .zip archives before ingestion into elasticsearch and was wondering if anyone here has experience with this.

the devices are a combination of:
Linux servers
Windows servers
and android devices.

It is not possible to unzip the files on the client side due to the large number of devices and automation requirements.

so if anyone has tips or experience please share them with me.

thanks in advance.