Kibana POST 403 (forbidden) on create index

kibana POST 403 (forbidden) on create index.

kibana > management > index patterns > create index pattern

index pattern: a_test_index

nothing happened. index was not created.

browser chrome developer tools

f12

POST http://ip:5601/api/saved_objects/index-pattern 403 (forbidden)
commons.bundle.js?v=16070:38

image

kibana > dev tools > console

GET _cat/indices

image

kibana > dev tools > console

POST .kibana/_search
{
"query": {
"term": {
"type": {
"value": "a_test_index"
}
}
}
}

image

kibana management > version 6.0.0

I was able to POST it successfully . Try putting the json in its own line

PUT a_test_index1/doc/1 
{ "test1": "test2" }

Also I was able to create an index pattern with a_test_index from the index management UI.

Try it and let us know

Cheers
Rashmi

kibana create index is not working.

kibana > management > index pattern

index pattern: a_test_index

create

Nothing happened. The index was not configured.

browsers developer tools

f12

Failed to load resource:
the server responded with a status of 404 (Not Found)
:5601/api/...

when you do a

GET _cat/indices
green  open .kibana       iqapeUmHSTGYslh2vGhzwg 1 0 3 0 13.3kb 13.3kb
yellow open a_test_index  DiRemnUxRMuzmxvI-Hczyg 1 1 1 0  3.3kb  3.3kb

Am also able to create an index pattern for a_test_index as shown in the screenshot below.

I suggest u to plz check your steps. Am on 6.3.0 v.

Cheers
Rashmi

kibana > management > version: 6.0.0

You are giving very little information and all one liners. More logs, screenshots should help. However, can you try

POST .kibana/_search
{
  "query": {
    "term": {
      "type": {
        "value": "index-pattern"
      }
    }
  }
}

see if it's there in the search results. Then try your steps again but with dev tools open and note any errors.

Hope this helps,

Cheers
Rashmi

It is resolved by unlocking all indexes.

Am glad your issue is now resolved.

Thanks
Rashmi

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