I currently have a puppet configuration of the elasticsearch and kibana, however I cannot get security to enable so I can setup users and then enable the logstash. When I enable the securty it still allows me into the UI without prompting and does not restrict any data.. Under management I do not even see a security option to manage users and roles.
class { 'elastic_stack::repo':
version => 7,}
class { 'elasticsearch':
config => {
'xpack.security.enabled' => true,
}
}
elasticsearch::instance { 'elk-prod01': }#`
class { 'kibana':
oss => true,
config => {
'server.port' => '8443',
'server.host' => "$hostname",
'server.ssl.certificate' => "/opt/ssl_certs_public/data/$hostname.lib.crt",
'server.ssl.key' => "/opt/ssl_certs_public/data/$hostname.lib.key",
'server.ssl.enabled' => true,
'logging.dest' => '/var/log/kibana/kibana.log',
'elasticsearch.username' => "kibana",
'elasticsearch.password' => "*********",
},
ensure => latest,
}