# Java stack trace issue

**URL:** <https://community.graylog.org/t/java-stack-trace-issue/18294>\
**Category:** Graylog Central (peer support)\
**Created:** [December 23, 2020, 6:12am UTC](https://community.graylog.org/t/java-stack-trace-issue/18294 "2020-12-23T06:12:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asharma](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@asharma](https://community.graylog.org/u/asharma)\
**Post date:** [December 23, 2020, 6:12am UTC](https://community.graylog.org/t/java-stack-trace-issue/18294/1 "2020-12-23T06:12:26Z")

</div>

I am getting below error from server.log  
Suppressed: ElasticsearchException[Elasticsearch exception [type=illegal\_argument\_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [message] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]]

even i tried to set this thru curl fielddata=true but still same error.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [January 6, 2021, 6:12am UTC](https://community.graylog.org/t/java-stack-trace-issue/18294/2 "2021-01-06T06:12:30Z")

</div>

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