Commit a7b51a2d authored by Anthony Lapenna's avatar Anthony Lapenna

X-Pack (alpha-3) support

parent fc9c2783
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[![Join the chat at https://gitter.im/deviantony/fig-elk](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/deviantony/fig-elk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the chat at https://gitter.im/deviantony/fig-elk](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/deviantony/fig-elk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
**WARNING: Experimental support of the X-Pack (alpha-2) version of the Elastic stack.** **WARNING: Experimental support of the X-Pack (alpha-3) version of the Elastic stack.**
It is *NOT* recommended to use this in production. It is *NOT* recommended to use this in production.
......
...@@ -7,7 +7,7 @@ elasticsearch: ...@@ -7,7 +7,7 @@ elasticsearch:
ES_JAVA_OPTS: "-Xms1g -Xmx1g" ES_JAVA_OPTS: "-Xms1g -Xmx1g"
logstash: logstash:
image: logstash:5 image: logstash:5
command: logstash -f /etc/logstash/conf.d/logstash.conf command: /usr/share/logstash/bin/logstash --path.settings /etc/logstash/
volumes: volumes:
- ./logstash/config:/etc/logstash/conf.d - ./logstash/config:/etc/logstash/conf.d
ports: ports:
......
...@@ -4,4 +4,4 @@ ENV ES_JAVA_OPTS="-Des.path.conf=/etc/elasticsearch" ...@@ -4,4 +4,4 @@ ENV ES_JAVA_OPTS="-Des.path.conf=/etc/elasticsearch"
RUN elasticsearch-plugin install --batch x-pack RUN elasticsearch-plugin install --batch x-pack
CMD ["-E", "es.network.host=0.0.0.0", "-E", "es.discovery.zen.minimum_master_nodes=1"] CMD ["-E", "network.host=0.0.0.0", "-E", "discovery.zen.minimum_master_nodes=1"]
# Kibana is served by a back end server. This controls which port to use. # Kibana is served by a back end server. This setting specifies the port to use.
port: 5601 server.port: 5601
# The host to bind the server to. # This setting specifies the IP address of the back end server.
host: "0.0.0.0" server.host: "0.0.0.0"
# The Elasticsearch instance to use for all your queries. # Enables you to specify a path to mount Kibana at if you are running behind a proxy. This setting
elasticsearch_url: "http://elasticsearch:9200" # cannot end in a slash.
# server.basePath: ""
# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false, # The maximum payload size in bytes for incoming server requests.
# then the host you use to connect to *this* Kibana instance will be sent. # server.maxPayloadBytes: 1048576
elasticsearch_preserve_host: true
# Kibana uses an index in Elasticsearch to store saved searches, visualizations # The Kibana server's name. This is used for display purposes.
# and dashboards. It will create a new index if it doesn't already exist. # server.name: "your-hostname"
kibana_index: ".kibana"
# If your Elasticsearch is protected with basic auth, this is the user credentials # The URL of the Elasticsearch instance to use for all your queries.
# used by the Kibana server to perform maintence on the kibana_index at statup. Your Kibana elasticsearch.url: "http://elasticsearch:9200"
# users will still need to authenticate with Elasticsearch (which is proxied thorugh
# the Kibana server)
# kibana_elasticsearch_username: user
# kibana_elasticsearch_password: pass
# If your Elasticsearch requires client certificate and key # When this setting’s value is true Kibana uses the hostname specified in the server.host
# kibana_elasticsearch_client_crt: /path/to/your/client.crt # setting. When the value of this setting is false, Kibana uses the hostname of the host
# kibana_elasticsearch_client_key: /path/to/your/client.key # that connects to this Kibana instance.
# elasticsearch.preserveHost: true
# If you need to provide a CA certificate for your Elasticsarech instance, put # Kibana uses an index in Elasticsearch to store saved searches, visualizations and
# the path of the pem file here. # dashboards. Kibana creates a new index if the index doesn’t already exist.
# ca: /path/to/your/CA.pem # kibana.index: ".kibana"
# The default application to load. # The default application to load.
default_app_id: "discover" # kibana.defaultAppId: "discover"
# Time in milliseconds to wait for elasticsearch to respond to pings, defaults to # If your Elasticsearch is protected with basic authentication, these settings provide
# request_timeout setting # the username and password that the Kibana server uses to perform maintenance on the Kibana
# ping_timeout: 1500 # index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
# Time in milliseconds to wait for responses from the back end or elasticsearch. # elasticsearch.username: "user"
# This must be > 0 # elasticsearch.password: "pass"
request_timeout: 300000
# Paths to the PEM-format SSL certificate and SSL key files, respectively. These
# Time in milliseconds for Elasticsearch to wait for responses from shards. # files enable SSL for outgoing requests from the Kibana server to the browser.
# Set to 0 to disable. # server.ssl.cert: /path/to/your/server.crt
shard_timeout: 0 # server.ssl.key: /path/to/your/server.key
# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying # Optional settings that provide the paths to the PEM-format SSL certificate and key files.
# startup_timeout: 5000 # These files validate that your Elasticsearch backend uses the same key files.
# elasticsearch.ssl.cert: /path/to/your/client.crt
# Set to false to have a complete disregard for the validity of the SSL # elasticsearch.ssl.key: /path/to/your/client.key
# certificate.
verify_ssl: true # Optional setting that enables you to specify a path to the PEM file for the certificate
# authority for your Elasticsearch instance.
# SSL for outgoing requests from the Kibana Server (PEM formatted) # elasticsearch.ssl.ca: /path/to/your/CA.pem
# ssl_key_file: /path/to/your/server.key
# ssl_cert_file: /path/to/your/server.crt # To disregard the validity of SSL certificates, change this setting’s value to false.
# elasticsearch.ssl.verify: true
# Set the path to where you would like the process id file to be created.
# pid_file: /var/run/kibana.pid # Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of
# the elasticsearch.requestTimeout setting.
# If you would like to send the log output to a file you can set the path below. # elasticsearch.pingTimeout: 1500
# This will also turn off the STDOUT log output.
# log_file: ./kibana.log # Time in milliseconds to wait for responses from the back end or Elasticsearch. This value
# Plugins that are included in the build, and no longer found in the plugins/ folder # must be a positive integer.
bundled_plugin_ids: # elasticsearch.requestTimeout: 30000
- plugins/dashboard/index
- plugins/discover/index # List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side
- plugins/doc/index # headers, set this value to [] (an empty list).
- plugins/kibana/index # elasticsearch.requestHeadersWhitelist: [ authorization ]
- plugins/markdown_vis/index
- plugins/metric_vis/index # Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.
- plugins/settings/index # elasticsearch.shardTimeout: 0
- plugins/table_vis/index
- plugins/vis_types/index # Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.
- plugins/visualize/index # elasticsearch.startupTimeout: 5000
# Specifies the path where Kibana creates the process ID file.
xpack.security.encryptionKey: "my-secret-key" # pid.file: /var/run/kibana.pid
elasticsearch.username: "kibana"
elasticsearch.password: "changeme" # Enables you specify a file where Kibana stores log output.
xpack.security.skipSslCheck: true # logging.dest: stdout
xpack.security.useUnsafeSessions: true
# Set the value of this setting to true to suppress all logging output.
# logging.silent: false
# Set the value of this setting to true to suppress all logging output other than error messages.
# logging.quiet: false
# Set the value of this setting to true to log all events, including system usage information
# and all requests.
# logging.verbose: false
# Set the interval in milliseconds to sample system and process performance
# metrics. Minimum is 100ms. Defaults to 10000.
# ops.interval: 10000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment