# Read XEL file and send to elasticsearch

**URL:** <https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109>\
**Category:** Elasticsearch\
**Created:** [November 1, 2021, 5:16am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109 "2021-11-01T05:16:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [November 1, 2021, 5:16am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/1 "2021-11-01T05:16:52Z")

</div>

Hi all,  
I have some xel files which are a SQL server output. Is there any way to read these files and index them in Elasticsearch. Can beats or logstash read these files?  
Any help will be so appreciated.

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 1, 2021, 5:17am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/2 "2021-11-01T05:17:48Z")

</div>

Are they text format?

---

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [November 1, 2021, 5:24am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/3 "2021-11-01T05:24:35Z")

</div>

Hi Dear warkolm,

File is \*.xel

The contents inside a .XEL are not plain text that can be viewed with Notepad.exe

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 1, 2021, 7:39am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/4 "2021-11-01T07:39:01Z")

</div>

You'll have to figure out a way to turn that into non-encoded then, so Filebeat can read it.

---

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [November 1, 2021, 9:12am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/5 "2021-11-01T09:12:14Z")

</div>

Many thanks.

---

<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:** [November 29, 2021, 9:12am UTC](https://discuss.elastic.co/t/read-xel-file-and-send-to-elasticsearch/288109/6 "2021-11-29T09:12:20Z")

</div>

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