Kibana: Getting ‘Forbidden’ while trying to create an index pattern
If you go to Kibana and try to create an index pattern but get “Forbidden” it means you have a locked index and while it’s read-only
you will not be able to create an index pattern.
Solution
In Kibana, go to “Dev Tools” by clicking on the wrench icon in the left side menu.
Copy the following to Dev Tools Console
PUT .kibana/_settings
{
"index": {
"blocks": {
"read_only_allow_delete": false
}
}
}
Next, click on “send request” (green triangle when clicking on the block of code you entered)
That’s it, you should be able to create an index pattern successfully now.
If you still having issues, let me know in the comments.
Comments