# Can we export logs in raw format from elasticsearch

**URL:** <https://discuss.elastic.co/t/can-we-export-logs-in-raw-format-from-elasticsearch/49447>\
**Category:** Elasticsearch\
**Created:** [May 6, 2016, 11:12pm UTC](https://discuss.elastic.co/t/can-we-export-logs-in-raw-format-from-elasticsearch/49447 "2016-05-06T23:12:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praveenj](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@Praveenj](https://discuss.elastic.co/u/Praveenj)\
**Post date:** [May 6, 2016, 11:12pm UTC](https://discuss.elastic.co/t/can-we-export-logs-in-raw-format-from-elasticsearch/49447/1 "2016-05-06T23:12:30Z")

</div>

Suppose, we are monitoring 'n' number of services for servers using elasticsearch. All service logs are rotated in specific cron time. But, to do detailed ananlysis, we may required a raw logs file(s). Is there any way to download log files from elasticsearch.

---

<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:** [May 7, 2016, 12:42am UTC](https://discuss.elastic.co/t/can-we-export-logs-in-raw-format-from-elasticsearch/49447/2 "2016-05-07T00:42:09Z")

</div>

Not in the raw format, as soon as you pass them through LS they are altered.

---

<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:** [July 5, 2017, 10:53pm UTC](https://discuss.elastic.co/t/can-we-export-logs-in-raw-format-from-elasticsearch/49447/3 "2017-07-05T22:53:15Z")

</div>


