Hi Simone,
Thanks for the patch. I’m still getting the same error
[2017-03-23T10:50:14,673][INFO ][o.e.p.r.a.RequestContext ] id: 6a905f7803684eb29856f2b7536356df - Replacing indices. Old:[.kibana] New:[.kibana_psaiz02]
[2017-03-23T10:50:14,673][INFO ][o.e.p.r.a.ACL ] request: { ID:6a905f7803684eb29856f2b7536356df, TYP:SearchRequest, USR:null, BRS:false, ACT:indices:data/read/search, OA:127.0.0.1, IDX:.kibana_psaiz02, MET:POST, PTH:/.kibana/config/_search, CNT:<OMITTED, LENGTH=77>, HDR:Connection,content-type,Host,Content-Length, EFF:0, HIS:[Allow read for default->[]], [Allow read for default->[indices->true, indices_rewrite->true]] } matched block: Allow read for default match: true}
[2017-03-23T10:50:14,678][INFO ][o.e.p.r.a.RequestSideEffects] Committing 1 effects
[2017-03-23T10:50:14,679][INFO ][o.e.p.r.a.RequestContext ] id: 010733e7cc9240b3b8f8b581c60d5d68 - Replacing indices. Old:[.kibana] New:[.kibana_psaiz02]
[2017-03-23T10:50:14,679][INFO ][o.e.p.r.IndexLevelActionFilter] [q500N6i] forbidden request: { ID:010733e7cc9240b3b8f8b581c60d5d68, TYP:IndexRequest, USR:null, BRS:false, ACT:indices:data/write/index, OA:127.0.0.1, IDX:.kibana, MET:POST, PTH:/.kibana/config/5.2.1/_create, CNT:<OMITTED, LENGTH=17>, HDR:Connection,content-type,Host,Content-Length, EFF:1, HIS:[Allow read for default->[]], [Allow read for default->[indices->true, indices_rewrite->true]] } Reason: java.lang.ClassCastException: org.elasticsearch.action.index.IndexRequest cannot be cast to org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest
[root@psaiz02 plugins]# /usr/share/elasticsearch/bin/elasticsearch-plugin list -v
Plugins directory: /usr/share/elasticsearch/plugins
readonlyrest
- Plugin information:
Name: readonlyrest
Description: Safely expose Elasticsearch REST API
Version: 1.14.1-pre3_es5.2.1
* Classname: org.elasticsearch.plugin.readonlyrest.wiring.ReadonlyRestPlugin