# NO machine learning button in kibana, 6.0 containers

**URL:** <https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622>\
**Category:** Kibana\
**Created:** [November 21, 2017, 10:37pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622 "2017-11-21T22:37:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gosha1128](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Post date:** [November 21, 2017, 10:37pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/1 "2017-11-21T22:37:08Z")

</div>

Hey, i'm new to elastic search but mostly everything is good !

I'm am trying to evaluate anomaly detection, but I don't see the ML button in kibana.

I have both 6.0 elastic search and kibana containers running and talking to each other. I can log into kibana and see my data ! But no ML button on the left-hand side ☹

I use docker-compose to run both containers, if that matters at all.

Thanks !!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 21, 2017, 10:38pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/2 "2017-11-21T22:38:50Z")

</div>

Which containers did you use?

---

<div class="post-metadata">

**Author:** ![gosha1128](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Post date:** [November 21, 2017, 11:06pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/3 "2017-11-21T23:06:05Z")

</div>

Here is my docker-compose.yml. Like i said, all the basic stuff works and i can log into kibana fine:

version: '2'  
services:  
elastic:  
image: [docker.elastic.co/elasticsearch/elasticsearch:6.0.0](http://docker.elastic.co/elasticsearch/elasticsearch:6.0.0)  
volumes:  
- ./data:/usr/share/elasticsearch/data  
environment:  
- discovery.type=single-node  
ports:  
- 9200:9200  
- 9300:9300  
kibana:  
image: [docker.elastic.co/kibana/kibana:6.0.0](http://docker.elastic.co/kibana/kibana:6.0.0)  
volumes:  
- ./kibana.yml:/usr/share/kibana/config/kibana.yml  
environment:  
SERVER\_NAME: localhost  
ELASTICSEARCH\_URL: [http://172.17.0.1:9200](http://172.17.0.1:9200)  
ports:  
- 5601:5601  
depends\_on:  
- elastic  
privileged: true

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 21, 2017, 11:07pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/4 "2017-11-21T23:07:14Z")

</div>

Did you install any license or are you using the trial?

---

<div class="post-metadata">

**Author:** ![gosha1128](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Post date:** [November 21, 2017, 11:21pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/5 "2017-11-21T23:21:15Z")

</div>

All i did was download these containers and I ran docker-compose.

My elastic representative said to register for a license, but the URL i was given has no registration. Did I miss something obvious ?

My elastic rep also asked me to curl the license, so here that is.

Any guidance is appreciated 🙂

$ curl -XGET '[http://localhost:9200/\_xpack/license](http://localhost:9200/_xpack/license)'  
{  
"license" : {  
"status" : "active",  
"uid" : "f9896900-0032-4cf2-88ba-87a50d4b0c57",  
"type" : "basic",  
"issue\_date" : "2017-11-21T21:18:38.224Z",  
"issue\_date\_in\_millis" : 1511299118224,  
"expiry\_date" : "2017-12-21T21:18:38.224Z",  
"expiry\_date\_in\_millis" : 1513891118224,  
"max\_nodes" : 1000,  
"issued\_to" : "docker-cluster",  
"issuer" : "elasticsearch",  
"start\_date\_in\_millis" : -1  
}  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 21, 2017, 11:42pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/6 "2017-11-21T23:42:09Z")

</div>

> [@gosha1128](#):
>
> "type" : "basic",

That's why, the basic license doesn't include ML. See [Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions).

Also see [Install Elasticsearch with Docker | Elasticsearch Reference [6.0] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/docker.html#_image_types) for more info, as we provide a few different container "flavours".

---

<div class="post-metadata">

**Author:** ![gosha1128](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Post date:** [November 21, 2017, 11:56pm UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/7 "2017-11-21T23:56:36Z")

</div>

Sigh. I know its not your fault...but this is a little frustrating 🙂

I've already been communicating with an Elastic rep ( you guys have been great btw) - and i was guided to this forum because I was not seeing the ML button. Are you now also referring me to a sign-up page ?

You are right...i think I just need a trial license. If thats a file, i just need a trial license file.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 22, 2017, 12:14am UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/8 "2017-11-22T00:14:30Z")

</div>

> [@gosha1128](#):
>
> Now, you are referring me to a sign-up page which will take me to another rep. And a Basic license it automated anyway.

I'm not sending you to another rep, the subscriptions page explains the licenses and what it contains.

> [@gosha1128](#):
>
> You are right...i just need a trial license. If thats a file, i just need a trial license file.

You're best bet is to use the `docker.elastic.co/elasticsearch/elasticsearch-platinum:6.0.0` container, as explained in that second link.

> [@gosha1128](#):
>
> Sigh. I know its not your fault...but this is a little frustrating 🙂
> 
> I've already been communicating with an Elastic rep - and i was guided to this forum because I was not seeing the ML button.

Sorry about that. As I'm sure you can appreciate, sometimes it's hard for everyone to be across everything.  
I'll have a chat internally as well to help improve awareness 🙂

---

<div class="post-metadata">

**Author:** ![gosha1128](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@gosha1128](https://discuss.elastic.co/u/gosha1128)\
**Post date:** [November 22, 2017, 3:23am UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/9 "2017-11-22T03:23:04Z")

</div>

You are my hero ! elastic-platinum container did the trick ! Apologies for my crankiness 🙂

In case any one else needs a working docker-compose to try out ML in 6.0, i've attached mine below.

(In my case, i have a local kibana.yml with the password setting set to "magicword".

```
version: '2'
services:
  elastic:
    image: docker.elastic.co/elasticsearch/elasticsearch-platinum:6.0.0
    volumes:
      - ./data:/usr/share/elasticsearch/data
    environment:
      - ELASTIC_PASSWORD=MagicWord
      - discovery.type=single-node
    ports:
      - 9200:9200
      - 9300:9300
  kibana:
    image: docker.elastic.co/kibana/kibana:6.0.0
    volumes:
      - ./kibana.yml:/usr/share/kibana/config/kibana.yml
    environment:
      SERVER_NAME: localhost
      ELASTICSEARCH_URL: http://172.17.0.1:9200
    ports:
      - 5601:5601
    depends_on:
      - elastic
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 22, 2017, 4:25am UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/10 "2017-11-22T04:25:11Z")

</div>

Thanks for sharing the dockerfile 🙂

---

<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:** [December 20, 2017, 4:25am UTC](https://discuss.elastic.co/t/no-machine-learning-button-in-kibana-6-0-containers/108622/11 "2017-12-20T04:25:30Z")

</div>

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