# Extracting logs form archive before ingestion to elasticsearch

**URL:** <https://discuss.elastic.co/t/extracting-logs-form-archive-before-ingestion-to-elasticsearch/357120>\
**Category:** Elasticsearch\
**Created:** [April 10, 2024, 8:45am UTC](https://discuss.elastic.co/t/extracting-logs-form-archive-before-ingestion-to-elasticsearch/357120 "2024-04-10T08:45:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pieke](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@pieke](https://discuss.elastic.co/u/pieke)\
**Post date:** [April 10, 2024, 8:45am UTC](https://discuss.elastic.co/t/extracting-logs-form-archive-before-ingestion-to-elasticsearch/357120/1 "2024-04-10T08:45:44Z")

</div>

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.
