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

**URL:** <https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448>\
**Category:** Kibana\
**Created:** [October 26, 2017, 3:54pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448 "2017-10-26T15:54:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricigliano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ricigliano/32/23041_2.png) [@Ricigliano](https://discuss.elastic.co/u/Ricigliano)\
**Post date:** [October 26, 2017, 3:54pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/1 "2017-10-26T15:54:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 27, 2017, 2:10am UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/2 "2017-10-27T02:10:10Z")

</div>

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](https://www.elastic.co/subscriptions)

---

<div class="post-metadata">

**Author:** ![Ricigliano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ricigliano/32/23041_2.png) [@Ricigliano](https://discuss.elastic.co/u/Ricigliano)\
**Post date:** [November 1, 2017, 4:10pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/3 "2017-11-01T16:10:10Z")

</div>

> [@tylersmalley](#):
>
> [http://localhost:9200/\_xpack/license](http://localhost:9200/_xpack/license)

I get this below when I run : [http://localhost:9200/\_xpack/license](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  
}

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 2, 2017, 2:36am UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/4 "2017-11-02T02:36:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ricigliano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ricigliano/32/23041_2.png) [@Ricigliano](https://discuss.elastic.co/u/Ricigliano)\
**Post date:** [November 2, 2017, 5:38pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/5 "2017-11-02T17:38:01Z")

</div>

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](http://127.0.0.1:5601)  
log [15:50:49.764] [info][status][ui settings] Status changed from uninitialized to green - Ready

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 2, 2017, 6:25pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/6 "2017-11-02T18:25:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 30, 2017, 6:26pm UTC](https://discuss.elastic.co/t/installed-x-pack-but-cant-access-machine-learning-or-watch/105448/7 "2017-11-30T18:26:13Z")

</div>

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