-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Description
When a user navigates to the Console, the Console app calls out to the /api/console/autocomplete_entities API to retrieve a list of resources for the purpose of autocompletion. If the response size (from presumably ES) is too big, it will cause the Kibana instance to restart. Here's the error that precedes the restart:
The error can be seen here (internal): https://monitoring-oblt.elastic.dev/app/apm/services/kibana/errors/8fa25e944ed07fec1e4f5d32b97e52c0?comparisonEnabled=true&environment=ENVIRONMENT_ALL&kuery=&rangeFrom=2022-11-01T10:04:48.915Z&rangeTo=2022-11-01T11:04:51.163Z&serviceGroup=&offset=1d&transactionType=request
This issue is reproducible by going to either https://dev-oblt.elastic.dev/ or https://edge-oblt.elastic.dev/, going to the Console, turning ON field autocompletion in Console's settings, and waiting until the /api/console/autocomplete_entities request fails. After that any request will return 503 while Kibana is restarting.