Skip to content

Instantly share code, notes, and snippets.

@Callonski
Last active September 7, 2020 01:06
Show Gist options
  • Save Callonski/87aa8f79cfe997c1463725ee00d9baf0 to your computer and use it in GitHub Desktop.
Save Callonski/87aa8f79cfe997c1463725ee00d9baf0 to your computer and use it in GitHub Desktop.
############## APPEND TO KIBANA CONFIGURATION FILE ############
cat <<EOT >> /etc/kibana/kibana.yml
elasticsearch.hosts: ['https://${internal_lb_ip}:9200']
server.name: my-elastic-kibana
server.host: 0.0.0.0
server.port: 8080
kibana.index: .kibanana
logging.dest: /var/log/kibana.log
logging.verbose: true
csp.strict: true
elasticsearch.username: 'elastic'
xpack.security.encryptionKey: 'akey'
xpack.security.audit.enabled: true
xpack.encryptedSavedObjects.encryptionKey: 'akey'
server.ssl.keystore.path: '/etc/kibana/http.p12'
server.ssl.keystore.password: ''
elasticsearch.ssl.certificateAuthorities: ['/etc/kibana/elasticsearch-ca.pem']
elasticsearch.ssl.verificationMode: 'none'
server.ssl.enabled: true
EOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment