# How to force a Field to be displayed in several lines

**URL:** <https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464>\
**Category:** Kibana\
**Created:** [February 9, 2017, 7:14am UTC](https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464 "2017-02-09T07:14:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalik](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@khalik](https://discuss.elastic.co/u/khalik)\
**Post date:** [February 9, 2017, 7:14am UTC](https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464/1 "2017-02-09T07:14:55Z")

</div>

Hello,

I am new in Kibana and I would like to display some step / results table in my dashboard.  
Is it possible to force a field to be displayed in several lines?  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/82e8e723d19041d6ec08dc94c94731cbbff16e3e.png)

Or ultimately is it possible to display recursively a JSON object into a tab?  
For example:  
"steps": {  
"step1": {  
"Description": "1. start the server test",  
"ExpectedResult": "1. the server is started without errors"   
},  
"step2": {  
"Description": "2. test",  
"ExpectedResult": "2. test"   
}  
},  
I would like to see:  
|Description|ExpectedResult|  
|1. start the server test|1. the server is started without errors|  
|2. test|2. test|

Or any other solution is welcome. (Description/ExpectedResult could also be on multiple line)

Thanks and regards,  
Kevin

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [February 9, 2017, 6:11pm UTC](https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464/2 "2017-02-09T18:11:19Z")

</div>

Hi Kevin,  
I don't think there is. I tried both `/n` and `<BR>` and neither caused a line break in the output.

I think it might be a security issue if we let the browser interpret HTML that comes from a doc.

The only thing I can think of would be to have each step/result be in it's own doc in Elasticsearch.

Lee

---

<div class="post-metadata">

**Author:** ![khalik](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@khalik](https://discuss.elastic.co/u/khalik)\
**Post date:** [February 13, 2017, 8:10am UTC](https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464/3 "2017-02-13T08:10:46Z")

</div>

Thanks, for the reply. I tried to use array. It displays nicely in the discover but is not supported by kibana indexation so it is not available for visualization...

---

<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:** [March 13, 2017, 8:10am UTC](https://discuss.elastic.co/t/how-to-force-a-field-to-be-displayed-in-several-lines/74464/4 "2017-03-13T08:10:59Z")

</div>

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