Kibana 8.6.2-1 cannot create APM indices on ElasticSearch 8.6.2-1

I have installed a fresh CentOS 7, Elasticsearch 8.6.2-1, Kibana 8.6.2-1, APM 8.6.2-1

After I logged in to Kibana with the user "elastic" (superuser), I went to
"Observability" > "APM" > "Services" > "Settings" > "Indices" and then click on "Apply Chnages", it says
"Indices could not be applied. Something went wrong when applying inidices. Error: bad request"

I checked the log "/var/log/messages" and the following is the error

Feb 18 02:19:25 localhost kibana: [2023-02-18T02:19:25.459+08:00][ERROR][plugins.apm] Error: Invalid value undefined supplied to : merge/0: { body: Partial<{ sourcemap: string, error: string, onboarding: string, span: string, transaction: string, metric: string }> }/body: Partial<{ sourcemap: string, error: string, onboarding: string, span: string, transaction: string, metric: string }>
Feb 18 02:19:25 localhost kibana: at decodeRequestParams (/usr/share/kibana/node_modules/@kbn/server-route-repository/target_node/src/decode_request_params.js:31:25)
Feb 18 02:19:25 localhost kibana: at /usr/share/kibana/x-pack/plugins/apm/server/routes/apm_routes/register_apm_server_routes.js:78:80
Feb 18 02:19:25 localhost kibana: at /usr/share/kibana/node_modules/@kbn/core-http-context-server-internal/target_node/src/context_container.js:57:16
Feb 18 02:19:25 localhost kibana: at Router.handle (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/src/router.js:141:36)
Feb 18 02:19:25 localhost kibana: at handler (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/src/router.js:107:61)
Feb 18 02:19:25 localhost kibana: at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:57:29)
Feb 18 02:19:25 localhost kibana: at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:48)
Feb 18 02:19:25 localhost kibana: at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:36)
Feb 18 02:19:25 localhost kibana: at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:371:68)
Feb 18 02:19:25 localhost kibana: at runMicrotasks (<anonymous>)
Feb 18 02:19:25 localhost kibana: at processTicksAndRejections (node:internal/process/task_queues:96:5)
Feb 18 02:19:25 localhost kibana: at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)

is there anything I have done wrong?

Hi @Christopher_Cheng,

Thank you for reporting this, I have created an issue in Kibana.

This should only be an issue when trying to save the form for the first time, or after refreshing the page while all indices are empty.

As a workaround you could write some characters in one of the fields, remove them and then apply the changes.

Thanks,
Giorgos

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