# How to make query output data format in 1 string

**URL:** <https://discuss.elastic.co/t/how-to-make-query-output-data-format-in-1-string/104159>\
**Category:** Elasticsearch\
**Created:** [October 17, 2017, 2:11am UTC](https://discuss.elastic.co/t/how-to-make-query-output-data-format-in-1-string/104159 "2017-10-17T02:11:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 17, 2017, 2:24am UTC](https://discuss.elastic.co/t/how-to-make-query-output-data-format-in-1-string/104159/2 "2017-10-17T02:24:52Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Remove `?pretty` and you should be ok.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-make-query-output-data-format-in-1-string/104159)._
