# Kibana Discover tab issue

**URL:** <https://discuss.elastic.co/t/kibana-discover-tab-issue/197875>\
**Category:** Kibana\
**Created:** [September 3, 2019, 1:38pm UTC](https://discuss.elastic.co/t/kibana-discover-tab-issue/197875 "2019-09-03T13:38:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mugil1988](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mugil1988](https://discuss.elastic.co/u/mugil1988)\
**Post date:** [September 3, 2019, 1:38pm UTC](https://discuss.elastic.co/t/kibana-discover-tab-issue/197875/1 "2019-09-03T13:38:29Z")

</div>

Hi team,

Getting this error when searching logs in kibana discover tab

"index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max\_analyzed\_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!"

Kindly help!!!

Thanks

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [September 4, 2019, 2:57pm UTC](https://discuss.elastic.co/t/kibana-discover-tab-issue/197875/2 "2019-09-04T14:57:37Z")

</div>

Hello Mugilvannan,

You'll want to update your index settings using something like the following cUrl command:

```auto
curl -XPUT "localhost:9200/<your_index>/_settings" -H 'Content-Type: application/json' -d'
{
    "index" : {
        "index.highlight.max_analyzed_offset" : < try a higher number here like 2000000>
    }
}
'

```

You can find more information about index settings [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/indices-update-settings.html).

Regards,  
Aaron

---

<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:** [October 2, 2019, 2:57pm UTC](https://discuss.elastic.co/t/kibana-discover-tab-issue/197875/3 "2019-10-02T14:57:51Z")

</div>

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