Hello,
I use Elasticsearch and Kibana 7.0.1 OSS (Apache 2).
When I try to create an index from the console in Kibana, I receive the following message :
{
"error": {
"root_cause": [
{
"reason": "forbidden"
}
],
"reason": "forbidden"
},
"status": 403
}
In kibana.yml file, I set up the credential to connect to ES :
elasticsearch.username: "kibana"
elasticsearch.password: "kibana"
in readonlyrest.yml file, I all setup the authentication for Kibana
- name: "Kibana Server"
type: allow
auth_key: kibana:kibana
Here is the error message in ES :
FORBIDDEN by default req={ ID:697986956-214118377#551, TYP:CreateIndexRequest, CGR:MY-AD-GROUP, USR:[user not logged], BRS:false, KDX:null, ACT:indices:admin/create, OA:127.0.0.1/32, XFF:x-forwarded-for=127.0.0.1, DA:127.0.0.1/32, IDX:<N/A>, MET:PUT, PTH:/test?pretty, CNT:<N/A>, HDR:Connection=close, Content-Length=0, Host=localhost:9200, authorization=<OMITTED>, x-forwarded-for=127.0.0.1, x-forwarded-host=epf-slap-11.ep.parl.union.eu, x-forwarded-port=46084, x-forwarded-proto=http, x-ror-current-group=MY-AD-GROUP, HIS:[logstash with write and create permissions for its own indices->[auth_key->false]], [Kibana Server->[auth_key_sha256->false]], [Application users->[ldap_auth->false]], [Administrator->[ldap_auth->true, kibana_access->false]] }
Thanks for help
H.