# Lens fields limited to 257 char

**URL:** <https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [November 10, 2020, 12:31pm UTC](https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904 "2020-11-10T12:31:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![QwerFact](https://avatars.discourse-cdn.com/v4/letter/q/e8c25b/32.png) [@QwerFact](https://discuss.elastic.co/u/QwerFact)\
**Post date:** [November 10, 2020, 12:31pm UTC](https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904/1 "2020-11-10T12:31:46Z")

</div>

Hello,  
I'm experiencing limitations with Lens visualization.  
I created a table with long string fields. After 258 char the field disappears:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7eda8ac8ebee0cbe84fc0b74f01566ace85a0ec3.png)

With 257 char my field is displayed correctly:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/f/df8e20c6d5e22f110f6fccc7ea3c076c93edfe3b.png)

Do you know if there is a settings to change this limit?

Thank you.  
QwerFact

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [November 10, 2020, 12:42pm UTC](https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904/2 "2020-11-10T12:42:23Z")

</div>

I guess you are using the default mapping for your keywork you use in aggregated table  
You can change your mapping an increase the ignore\_above and try again  
This may help i guess

```auto
{
  "foo": {
    "type" "text",
    "fields": {
      "keyword": {
        "type": "keyword",
        "ignore_above": 256
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![QwerFact](https://avatars.discourse-cdn.com/v4/letter/q/e8c25b/32.png) [@QwerFact](https://discuss.elastic.co/u/QwerFact)\
**Post date:** [November 10, 2020, 1:01pm UTC](https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904/3 "2020-11-10T13:01:55Z")

</div>

Hello Yassine,  
You are right. Fields longer than 256 char are not processed as keyword to save performance.  
I adjusted the mapping and the visualization works.

Thanks for your help.

---

<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:** [December 8, 2020, 1:01pm UTC](https://discuss.elastic.co/t/lens-fields-limited-to-257-char/254904/4 "2020-12-08T13:01:57Z")

</div>

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