NO machine learning button in kibana, 6.0 containers

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 :frowning:

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

Thanks !!

Which containers did you use?

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
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
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
privileged: true

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

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 :slight_smile:

$ curl -XGET '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
}
}

That's why, the basic license doesn't include ML. See Subscriptions | Elastic Stack Products & Support | Elastic.

Also see Install Elasticsearch with Docker | Elasticsearch Reference [6.0] | Elastic for more info, as we provide a few different container "flavours".

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

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.

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

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

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 :slight_smile:

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

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

Thanks for sharing the dockerfile :slight_smile:

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