# Why comments field not being displayed

**URL:** <https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228>\
**Category:** Elasticsearch\
**Created:** [July 12, 2023, 1:26pm UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228 "2023-07-12T13:26:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dana\_Pavaday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dana_pavaday/32/123188_2.png) [@Dana\_Pavaday](https://discuss.elastic.co/u/Dana_Pavaday)\
**Post date:** [July 12, 2023, 1:26pm UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/1 "2023-07-12T13:26:08Z")

</div>

Why is the comment field not being displayed for some Affected Services field values (Memory, CPU) in the Dashboard when they are already being displayed in Discover?

Is this an issue with the logstash? What should be done to solve this?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 14, 2023, 9:25am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/2 "2023-07-14T09:25:41Z")

</div>

Hi @Dana_Pavaday,

Can you share a screenshot of where you're not able to see the comment field? If the field is visible in Discover it sounds like the data has made it into Elasticsearch from Logstash.

---

<div class="post-metadata">

**Author:** ![Dana\_Pavaday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dana_pavaday/32/123188_2.png) [@Dana\_Pavaday](https://discuss.elastic.co/u/Dana_Pavaday)\
**Post date:** [July 17, 2023, 6:46am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/3 "2023-07-17T06:46:10Z")

</div>

Hello @carly.richmond,

![Affected Services - Comments](https://us1.discourse-cdn.com/elastic/original/3X/9/4/94428019ce3860b0507a4eac62d47439c64e25df.png)

Please find the attached screenshot. The comment field is not displayed for Memory, CPU and Disk I/O. But it is displayed for Connectivity. And in Discover, we can see that Memory, CPU and Disk I/O have comments.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 17, 2023, 8:48am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/4 "2023-07-17T08:48:53Z")

</div>

Thanks @Dana_Pavaday. What is your configuration for the Commentaire field in the table? And what is the expected value you think should be present for your Memory and Connectivity values?

---

<div class="post-metadata">

**Author:** ![Dana\_Pavaday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dana_pavaday/32/123188_2.png) [@Dana\_Pavaday](https://discuss.elastic.co/u/Dana_Pavaday)\
**Post date:** [July 19, 2023, 6:28am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/5 "2023-07-19T06:28:31Z")

</div>

Hello @carly.richmond,

Thank you for your help. I have been able to resolve the issue. The number of characters for the comment field was too long. I have truncated it.

---

<div class="post-metadata">

**Author:** ![Dana\_Pavaday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dana_pavaday/32/123188_2.png) [@Dana\_Pavaday](https://discuss.elastic.co/u/Dana_Pavaday)\
**Post date:** [July 21, 2023, 6:28am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/6 "2023-07-21T06:28:31Z")

</div>

Hello @carly.richmond,

The comment field is dropped from Kibana since it is too long. Is there a variable to extend the length of the field?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 24, 2023, 1:16pm UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/7 "2023-07-24T13:16:24Z")

</div>

Hi @Dana_Pavaday,

Just a few questions from me to help. Is this a text field, or another field type? How long is the field that you needed to truncate. Are you making use of the [`ignore_above` setting](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/ignore-above.html)?

---

<div class="post-metadata">

**Author:** ![Dana\_Pavaday](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dana_pavaday/32/123188_2.png) [@Dana\_Pavaday](https://discuss.elastic.co/u/Dana_Pavaday)\
**Post date:** [July 26, 2023, 7:30am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/8 "2023-07-26T07:30:27Z")

</div>

Hello @carly.richmond,

It is a text field and I guess it is longer than the default maximum field length in elastic. No, am not making use of the ignore\_above setting.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [July 26, 2023, 11:16am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/9 "2023-07-26T11:16:40Z")

</div>

Thanks for clarifying @Dana_Pavaday. It would be useful to have a rough idea of size of the field.

I did find this [old thread](https://discuss.elastic.co/t/what-is-the-maximum-text-size-that-can-be-indexed-as-a-single-term/292697/7) and the [blog post](https://www.elastic.co/blog/find-strings-within-strings-faster-with-the-new-elasticsearch-wildcard-field) mentioned in that thread that talks about the underlying Lucene limit that I wonder if you might be hitting:

> And even if you _do_ [raise](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/ignore-above.html) the Elasticsearch limit, you cannot exceed the hard Lucene limit of 32k for a single token, and Elasticsearch certainly logs some messages that exceed this.

I would recommend having a look at setting your [`ignore_above` limit](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ignore-above.html) in line with the note at the bottom of the documentation and seeing if that helps when the document is reingested.

---

<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:** [August 23, 2023, 11:16am UTC](https://discuss.elastic.co/t/why-comments-field-not-being-displayed/338228/10 "2023-08-23T11:16:42Z")

</div>

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