Elasticsearch APM Tab empty after Kibana upgrade to 7.2.1

I upgraded my ELK stack to 7.2.1 from 7.1.1. The APM tab stopped working after the upgrade.
My browser's console throws this error:
TypeError: Cannot read property 'is_available' of undefined

On looking at the source . (apm.bundle.js), I see these:

          features: {
                watcher: {
                    is_available: false
                },
                ml: {
                    is_available: false
                }

I have disabled ML in kibana.yml
Also, no error logs on Kibana.

Config and more info:

Kibana version: 7.2.1

Elasticsearch version: 7.2.1

APM Server version: 7.2.1

Fresh install or upgraded from other version? Upgraded from 7.1.1

Errors in browser console (if relevant):

vendors.bundle.dll.js:226 TypeError: Cannot read property 'is_available' of undefined
    at apm.bundle.js:3
    at Tg (vendors.bundle.dll.js:226)
    at bi (vendors.bundle.dll.js:226)
    at ci (vendors.bundle.dll.js:226)
    at Di (vendors.bundle.dll.js:226)
    at Yh (vendors.bundle.dll.js:226)
    at Xh (vendors.bundle.dll.js:226)
    at qf (vendors.bundle.dll.js:226)
    at wg (vendors.bundle.dll.js:226)
    at _callee$ (apm.bundle.js:3)
qh @ vendors.bundle.dll.js:226
Ch.c.callback @ vendors.bundle.dll.js:226
ih @ vendors.bundle.dll.js:226
hh @ vendors.bundle.dll.js:226
Vh @ vendors.bundle.dll.js:226
Zh @ vendors.bundle.dll.js:226
(anonymous) @ vendors.bundle.dll.js:226
exports.unstable_runWithPriority @ vendors.bundle.dll.js:235
Fi @ vendors.bundle.dll.js:226
Di @ vendors.bundle.dll.js:226
Yh @ vendors.bundle.dll.js:226
Xh @ vendors.bundle.dll.js:226
qf @ vendors.bundle.dll.js:226
wg @ vendors.bundle.dll.js:226
_callee$ @ apm.bundle.js:3
tryCatch @ vendors.bundle.dll.js:119
invoke @ vendors.bundle.dll.js:119
prototype.<computed> @ vendors.bundle.dll.js:119
asyncGeneratorStep @ apm.bundle.js:3
_next @ apm.bundle.js:3
Promise.then (async)
asyncGeneratorStep @ apm.bundle.js:3
_next @ apm.bundle.js:3
(anonymous) @ apm.bundle.js:3
(anonymous) @ apm.bundle.js:3
_doFetch @ apm.bundle.js:3
doFetch @ apm.bundle.js:3
(anonymous) @ apm.bundle.js:3
th @ vendors.bundle.dll.js:226
Wh @ vendors.bundle.dll.js:226
of @ vendors.bundle.dll.js:226
ci @ vendors.bundle.dll.js:226
Di @ vendors.bundle.dll.js:226
Yh @ vendors.bundle.dll.js:226
Xh @ vendors.bundle.dll.js:226
qf @ vendors.bundle.dll.js:226
enqueueSetState @ vendors.bundle.dll.js:226
E.setState @ vendors.bundle.dll.js:218
(anonymous) @ vendors.bundle.dll.js:98
listener @ vendors.bundle.dll.js:87
(anonymous) @ vendors.bundle.dll.js:87
notifyListeners @ vendors.bundle.dll.js:87
setState @ vendors.bundle.dll.js:145
(anonymous) @ vendors.bundle.dll.js:145
confirmTransitionTo @ vendors.bundle.dll.js:87
handlePop @ vendors.bundle.dll.js:145
handleHashChange @ vendors.bundle.dll.js:145
1 Like

Hi,

Thanks for bringing this to our attention. This is unfortunately a bug, and I don't see other workarounds for now than enabling ML.

I have created a fix that will be released in 7.4 and I hope to backport it to 7.3 and 7.2.

We are running into same issue as well

Same here