Note: This issue was created in response to an operational runbook.
We discovered that the agent_builder plugin is not gracefully handling a scenario in which an Elasticsearch query could return a payload that's too large for Kibana to process.
This unhandled error is triggering a rule in the overview cluster.
Unexpected error in handler: RequestAbortedError: The content length (104860439) is bigger than the maximum allowed string (104857600)
The following queries were identified:
POST /.chat-conversations/_search
Loggers:
Please use the isMaximumResponseSizeExceededError
helper to catch these errors and ensure that an actionable error is returned to users, such as:
resulting dataset is too large, try narrowing your search with filters, or use a smaller time range
If you want to add any server-side logging, this should be done at the warn level or lower.
Note: This issue was created in response to an operational runbook.
We discovered that the
agent_builderplugin is not gracefully handling a scenario in which an Elasticsearch query could return a payload that's too large for Kibana to process.This unhandled error is triggering a rule in the overview cluster.
The following queries were identified:
POST /.chat-conversations/_searchLoggers:
Please use the isMaximumResponseSizeExceededError
helper to catch these errors and ensure that an actionable error is returned to users, such as:
If you want to add any server-side logging, this should be done at the
warnlevel or lower.