We would like to setup AD authentication just for Kibana and not setup AD authentication for Elasticsearch or Logstash components. Is that possible?. Can anyone point me towards the direction of setting up AD based authentication just for Kibana?
you could do this by defining two sets of users. One for the Kibana users (humans I assume), and another for the Elasticsearch/Logstash users (services&processes I'd guess).
The Kibana users you would authenticate using the AD-realm. Ensure each has at least the kibana_user-role mapped to the appropriate AD-group, as well as (read/write) access to the required data/indices (https://www.elastic.co/guide/en/x-pack/current/mapping-roles.html)
I am getting authc not allowed error. Can you provide an example config file ?
log [15:56:18.759] [fatal] ValidationError: child "xpack" fails because [child "security" fails because ["authc" is not allowed]]
at Object.exports.process (/usr/share/kibana/node_modules/joi/lib/errors.js:140:17)
at internals.Any._validateWithOptions (/usr/share/kibana/node_modules/joi/lib/any.js:649:25)
at root.validate (/usr/share/kibana/node_modules/joi/lib/index.js:102:23)
at Config._commit (/usr/share/kibana/src/server/config/config.js:134:38)
at Config.set (/usr/share/kibana/src/server/config/config.js:104:12)
at Config.extendSchema (/usr/share/kibana/src/server/config/config.js:74:12)
at /usr/share/kibana/src/server/plugins/plugin_collection.js:21:10
at undefined.next (native)
at step (/usr/share/kibana/src/server/plugins/plugin_collection.js:32:273)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.