# How do I keep my log level field from wrapping?

**URL:** <https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479>\
**Category:** Kibana\
**Created:** [January 18, 2021, 11:23pm UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479 "2021-01-18T23:23:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_DiFalco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robert_difalco/32/82476_2.png) [@Robert\_DiFalco](https://discuss.elastic.co/u/Robert_DiFalco)\
**Post date:** [January 18, 2021, 11:23pm UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479/1 "2021-01-18T23:23:42Z")

</div>

How do I prevent Kibana from wrapping the level field? I am using filebeat to post data. I'm assuming the only way is to make the field name longer? Really?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4c6d478494946dd7e9143e4d924d3db1e41ef422.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 19, 2021, 2:27am UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479/2 "2021-01-19T02:27:39Z")

</div>

Basically you can't, only if you change the field name to something longer, and even this way it could wrap depending on the other fields.

This is an old know [issue](https://github.com/elastic/kibana/issues/737) that will only be solved when the Discovery UI is rewritten according to this other [issue](https://github.com/elastic/kibana/issues/38646), but there is no timeframe for the completion.

---

<div class="post-metadata">

**Author:** ![Robert\_DiFalco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robert_difalco/32/82476_2.png) [@Robert\_DiFalco](https://discuss.elastic.co/u/Robert_DiFalco)\
**Post date:** [January 19, 2021, 4:05pm UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479/3 "2021-01-19T16:05:25Z")

</div>

So message and timestamp fields are "special" in that they are hardcoded to wrap using different logic than columns I introduce like log level?

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 19, 2021, 4:25pm UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479/4 "2021-01-19T16:25:39Z")

</div>

> So message and timestamp fields are "special" in that they are hardcoded to wrap using different logic than columns I introduce like log level?

Correct. For instance `timestamp` has a CSS class added called `eui-textNoWrap` which prevents that field from wrapping.

```auto
white-space: nowrap !important;

```

---

<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:** [February 16, 2021, 4:25pm UTC](https://discuss.elastic.co/t/how-do-i-keep-my-log-level-field-from-wrapping/261479/5 "2021-02-16T16:25:56Z")

</div>

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