Installed X-Pack but can't access Machine Learning or Watch

Installed X-Pack but can't access Machine Learning or Watch on MAC 6.x version. However when I try to
access these via the Kibana UI I get an error indicating I don't have access to this component contact
your administrator.

In installed X-Pack 6.x on all three components, Logstash, Elastic Search and Kibana

What is the type you have in the response from http://localhost:9200/_xpack/license

While the trial license allows access to Machine Learning and Watcher it will be downgraded to a basic license after 30 days. If you want to reset, you can re-install Elasticsearch or reach out to https://www.elastic.co/subscriptions

I get this below when I run : http://localhost:9200/_xpack/license

{
"license" : {
"status" : "active",
"uid" : "45fdd94e-162d-42c2-b5ce-779f893aa908",
"type" : "trial",
"issue_date" : "2017-10-12T16:40:33.620Z",
"issue_date_in_millis" : 1507826433620,
"expiry_date" : "2017-11-11T16:40:33.620Z",
"expiry_date_in_millis" : 1510418433620,
"max_nodes" : 1000,
"issued_to" : "elasticsearch",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1
}

Do you have any logs which give more details? I installed the released all of Elasticsearch, Logstash and Kibana on 6-0-0 RC2 without any hitches and when installed I have a 30 day trial license to access all the features.

Thanks
Rashmi

The only think I have is the start up logs of Kibana

./kibana &
[1] 60086
mricigli-mac:bin ricig$ log [15:50:46.698] [info][status][plugin:kibana@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:46.838] [info][status][plugin:elasticsearch@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:46.877] [info][status][plugin:xpack_main@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:46.959] [info][status][plugin:security@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:46.966] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [15:50:46.975] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [15:50:47.117] [info][status][plugin:searchprofiler@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:47.134] [info][status][plugin:ml@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:47.308] [info][status][plugin:tilemap@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:47.315] [info][status][plugin:watcher@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:47.554] [info][status][plugin:ml@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:47.648] [info][status][plugin:grokdebugger@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:47.666] [info][status][plugin:dashboard_mode@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:47.673] [info][status][plugin:logstash@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:47.737] [info][status][plugin:upgrade@6.0.0-rc1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:50:48.236] [info][status][plugin:console@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:48.388] [info][status][plugin:metrics@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:48.434] [info][status][plugin:elasticsearch@6.0.0-rc1] Status changed from yellow to green - Kibana index ready
log [15:50:49.731] [info][license][xpack] Imported license information from Elasticsearch for [data] cluster: mode: trial | status: active | expiry date: 2017-11-11T08:40:33-08:00
log [15:50:49.739] [info][status][plugin:xpack_main@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.740] [info][status][plugin:security@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.741] [info][status][plugin:searchprofiler@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.742] [info][status][plugin:tilemap@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.743] [info][status][plugin:watcher@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.744] [info][status][plugin:logstash@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.746] [info][status][plugin:upgrade@6.0.0-rc1] Status changed from yellow to green - Ready
log [15:50:49.752] [info][status][plugin:timelion@6.0.0-rc1] Status changed from uninitialized to green - Ready
log [15:50:49.760] [info][listening] Server running at http://127.0.0.1:5601
log [15:50:49.764] [info][status][ui settings] Status changed from uninitialized to green - Ready

Are you using the Elastic super user to login ? If not use that and let us know if you still encounter the issue you stated. You might have to restart ES and Kibana as well, before you login and let us know.

Thanks
Rashmi

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