mirror of
https://github.com/ivuorinen/docker-elk.git
synced 2026-03-08 04:57:51 +00:00
Initial commit
This commit is contained in:
8
kibana/Dockerfile
Normal file
8
kibana/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
ARG ELK_VERSION
|
||||
|
||||
# https://github.com/elastic/kibana-docker
|
||||
FROM docker.elastic.co/kibana/kibana:${ELK_VERSION}
|
||||
ARG ELK_VERSION
|
||||
|
||||
# Add your kibana plugins setup here
|
||||
# Example: RUN kibana-plugin install <name|url>
|
||||
49
kibana/config/kibana.yml
Normal file
49
kibana/config/kibana.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
## Default Kibana configuration from Kibana base image.
|
||||
## https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/templates/kibana_yml.template.js
|
||||
#
|
||||
server.name: kibana
|
||||
server.host: "0.0.0.0"
|
||||
server.port: ${KIBANA_PORT}
|
||||
|
||||
# Elasticsearch Connection
|
||||
elasticsearch.hosts: [ "${ELASTICSEARCH_HOST_PORT}" ]
|
||||
|
||||
# SSL settings
|
||||
server.ssl.enabled: true
|
||||
server.ssl.certificate: /certs/kibana.crt
|
||||
server.ssl.key: /certs/kibana.key
|
||||
server.ssl.certificateAuthorities: [ "/certs/ca.crt" ]
|
||||
xpack.security.encryptionKey: C1tHnfrlfxSPxPlQ8BlgPB5qMNRtg5V5
|
||||
xpack.encryptedSavedObjects.encryptionKey: D12GTfrlfxSPxPlGRBlgPB5qM5GOPDV5
|
||||
xpack.reporting.encryptionKey: RSCueeHKzrqzOVTJhkjt17EMnzM96LlN
|
||||
|
||||
## X-Pack security credentials
|
||||
elasticsearch.serviceAccountToken: "${KIBANA_SERVICE_ACCOUNT_TOKEN}"
|
||||
elasticsearch.ssl.certificateAuthorities: [ "/certs/ca.crt" ]
|
||||
|
||||
## Add policy for apm-server integration
|
||||
xpack.fleet.packages:
|
||||
- name: apm
|
||||
version: latest
|
||||
xpack.fleet.agentPolicies:
|
||||
- name: Agent policy 1
|
||||
id: agent-policy-1
|
||||
namespace: default
|
||||
monitoring_enabled:
|
||||
- logs
|
||||
- metrics
|
||||
package_policies:
|
||||
- name: apm-1
|
||||
id: default-apm
|
||||
package:
|
||||
name: apm
|
||||
|
||||
## Misc
|
||||
elasticsearch.requestTimeout: 90000
|
||||
|
||||
|
||||
|
||||
## ElastAlert Plugin
|
||||
#elastalert-kibana-plugin.serverHost: elastalert
|
||||
#elastalert-kibana-plugin.serverPort: 3030
|
||||
Reference in New Issue
Block a user