elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.67k stars 8.23k forks source link

Dev Tools: bulk API with ndjson is broken #201265

Open ofirEdi opened 10 hours ago

ofirEdi commented 10 hours ago

Kibana version: 8.16.0

Elasticsearch version: 8.16.0

Server OS version: Linux - Ubuntu

Browser version: Google Chrome 131.0.6778.85

Original install method (e.g. download page, yum, from source, etc.): Download link: https://artifacts.elastic.co/downloads/kibana/kibana-8.16.0-amd64.deb install using: dpkg -i kibana-8.16.0-amd64.deb

Describe the bug: Kibana 8.16.0 Introduced new Dev Tools redesign. While was supported on previous versions, APIs that allows usage of ndjson (like bulk API) no longer work in Dev Tools and present error. In addition every request under the bulk request is also "marked" (Dev Tools treat the first JSON as the first request and to what comes after it as another single request) and can't be run until removing the bulk request.

Steps to reproduce: Create a bulk request with ndjson (requests below it will become non availalbe for send).

Expected behavior: Dev Tools should support calls with ndjson request body just like in previous versions.

Screenshots (if relevant):

Image Image