# How toi get Mainfram data to Logstash

**URL:** <https://discuss.elastic.co/t/how-toi-get-mainfram-data-to-logstash/288972>\
**Category:** Logstash\
**Created:** [November 11, 2021, 9:26am UTC](https://discuss.elastic.co/t/how-toi-get-mainfram-data-to-logstash/288972 "2021-11-11T09:26:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shalinicts](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shalinicts/32/81251_2.png) [@Shalinicts](https://discuss.elastic.co/u/Shalinicts)\
**Post date:** [November 11, 2021, 9:26am UTC](https://discuss.elastic.co/t/how-toi-get-mainfram-data-to-logstash/288972/1 "2021-11-11T09:26:19Z")

</div>

Read data files which are delivered in zipped EDCDIC format and get it into Elasticsearch via Logstash

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [November 11, 2021, 4:29pm UTC](https://discuss.elastic.co/t/how-toi-get-mainfram-data-to-logstash/288972/2 "2021-11-11T16:29:36Z")

</div>

EBCDIC is not a single encoding, it supports many code pages. You can read zipped files with a file input in read mode (rather than tail mode). The plain codec seems to support only one code page from EBCDIC -- ebcdic-cp-us, a.k.a IBM037, although I could have missed some.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 9, 2021, 4:29pm UTC](https://discuss.elastic.co/t/how-toi-get-mainfram-data-to-logstash/288972/3 "2021-12-09T16:29:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
