Kibana, can't create an index

I am new to Kibana. I want to create an index but the Next Step button is not enabled. I tried a lot of patterns but it didn't change. Create index pattern page

Upvotes: 1

Views: 4339

Answers (2)

pdr0
pdr0

Reputation: 124

Also it could be related elastic has read_only_allow_delete flag set. You need set this flag to null running this command. curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

Upvotes: 2

A l w a y s S u n n y
A l w a y s S u n n y

Reputation: 38552

To create an index pattern, you must have at least one document on your index otherwise no suggestion will be appear. From your comment I came to know that you've created 4 times the index but it is not showing on your visualization part. Let see why it is happening?

When you create an index with any mapping using below command. For Example :

PUT /customer

It will not be visible on the create index pattern part because you just created the index without any documents on it but if you try the below command at first or after index creation you can see the index name suggestion while creating the index pattern

PUT /customer/cu/1?pretty
{
  "name": "John Doe"
} 

See my attached image here. So to see the index name on your Management menu create at least on document inside your index.

enter image description here

Upvotes: 1

Related Questions