Illegal_argument_exception

I am getting these error messaage , how to reslove it and also want to know if if i can skip for those document which exceeds the limit

{
  "took": 382,
  "timed_out": false,
  "_shards": {
    "total": 16,
    "successful": 15,
    "skipped": 15,
    "failed": 1,
    "failures": [
      {
        "shard": 0,
        "index": ".ds-logs-mulesoft-v2-2024.11.22-000050",
        "node": "8tiEom5CSBixKIDJjGdLDA",
        "reason": {
          "type": "illegal_argument_exception",
          "reason": "The length [1081921] of field [event.original] in doc[238]/index[.ds-logs-mulesoft-v2-2024.11.22-000050] exceeds the [index.highlight.max_analyzed_offset] limit [1000000]. To avoid this error, set the query parameter [max_analyzed_offset] to a value less than index setting [1000000] and this will tolerate long field values by truncating them."
        }
      }
    ]
  },
  "hits": {
    "max_score": null,
    "hits": []
  }
}

Hi @shubham21101997

In the log it says that you must change the value of the max_analyzed_offset config.
See the warning: Highlighting | Elasticsearch Guide [8.16] | Elastic