Default index (.kibana) not created

Hi, we have one server already told you. On the same server we are running elasticsearch and kibana.
After installation of both we configure elasticsearch.yml and kibana.yml

My elasticsearch and kibana configuration is given below:

elasticsearch.yml

bootstrap.system_call_filter: false
cluster.name: my-application
network.host: MUMCHELK01

kibana.yml

elasticsearch.url: "http://MUMCHELK01:9200"
elasticsearch.ssl.verificationMode: "none"
logging.dest: /var/log/kibana/kibana.log
server.port: 5601
server.host: "MUMCHELK01"

To start elasticsearch we use putty application, first we go to elasticsearch home (/opt/Elasticsearch6.2.4/elasticsearch-6.2.4/) then we use below command
./bin/elasticsearch &

To start kibana same process we follow. command (./bin/kibana &)
We have already given you logs if you want again I can send you again. Help us to create .kibana index.

Yesterday we have downloaded new setups of both from elastic site. But same issue we are getting.
.kibana index not getting created.

Do what I asked here: Default index (.kibana) not created

Then come back with all the commands you pass if you are not successful.

Hi, 
We have tried version 6.2.4 re installation. But .kibana index not created. And then we have also tried version 6.3.0 in this setup .kibana index has created. 
But we need version 6.2.4. What is the issue .kibana index not getting created in this version. 
Also previously we have used  5.3.0, 5.5.2, 6.0.0 these all versions contains .kibana index.

I REPEAT:

come back with all the commands you pass if you are not successful.

Please find the below steps which i followed to install Elasticsearch and kibana.

  1. Downloaded elasticsearch and kibana from below url:
    https://www.elastic.co/downloads/elasticsearch

  2. Unzip elasticsearch and kibana.
    tar xvf elasticsearch-6.2.0.tar.gz
    tar xvf kibana-6.2.4-linux-x86_64.tar.gz

  3. Change ownership to elastic user for elasticsearch directory.

  4. Change network.host in elasticsearch.yml and server.host in kibana.yml and also Set elasticsearch.url to point at Elasticsearch instance

  5. Run elasticsearch process using below cmd.
    ./elasticsearch &

  6. Run kibana process.
    ./kibana &

Please do the same thing but:

  • Use elasticsearch-6.2.4.
  • Do that as the elastic user and not as root
  • Skip steps 3 and 4

And do:

curl localhost:9200
curl localhost:5601

And share the results here.

Thanks for you reply.

We have performed steps given by you.Please find the below output.

curl localhost:9200

{
  "name" : "yFui6aO",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "h6UaCP6sRO6hlRxyjhNRvQ",
  "version" : {
    "number" : "6.2.4",
    "build_hash" : "ccec39f",
    "build_date" : "2018-04-12T20:37:28.497551Z",
    "build_snapshot" : false,
    "lucene_version" : "7.2.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}




curl localhost:5601

<script>var hashRoute = '/app/kibana';
var defaultRoute = '/app/kibana';

var hash = window.location.hash;
if (hash.length) {
  window.location = hashRoute + hash;
} else {
  window.location = defaultRoute;

We have also tried other version i.e 6.3.0 and in that kibana index is created successfully.So Please suggest us whether we can create default (.kibana) index manually or can we copy 6.3.0 version kibana index to 6.2.4 version.

I can't reproduce it.

We have also tried other version i.e 6.3.0 and in that kibana index is created successfully.

Probably you did something slightly different.
Anyway, if it works with 6.3.0, keep this version then.

Thanks for your reply. But we have some dependencies on other applications. And need only 6.2.4 version.
Otherwise we have multiple working versions. Please provide solution for 6.2.4.

I don't have solutions for you as I don't know the exact commands, one by one and the result you are getting back for each.

You are doing something wrong IMO but I can't tell what.
May be a data dir owner issue but you would see that in logs at least.

So I'm running out of ideas.

May be record a video like of what you are doing from scratch and share it here. Like with https://asciinema.org/

Is the .kibana-Index created when you login kibana and then click "Dismiss"?

It's created as soon as you start Kibana.

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