|
| 1 | +# Kibana is served by a back end server. This controls which port to use. |
| 2 | +server.port: <%= p('kibana.port') %> |
| 3 | + |
| 4 | +# The host to bind the server to. |
| 5 | +server.host: <%= p('kibana.host') %> |
| 6 | + |
| 7 | +# If you are running kibana behind a proxy, and want to mount it at a path, |
| 8 | +# specify that path here. The basePath can't end in a slash. |
| 9 | +# server.basePath: "" |
| 10 | + |
| 11 | +# The Elasticsearch instance to use for all your queries. |
| 12 | +# elasticsearch.url: "http://localhost:9200" |
| 13 | +<% |
| 14 | + elasticsearch_port = nil |
| 15 | + if_link("elasticsearch") { |elasticsearch_link| elasticsearch_port = elasticsearch_link.p("elasticsearch.port") } |
| 16 | + unless elasticsearch_port |
| 17 | + elasticsearch_port = p("kibana.elasticsearch.port") |
| 18 | + end |
| 19 | +%> |
| 20 | +elasticsearch.hosts: "http://<%= p("kibana.elasticsearch.host") + ':' + elasticsearch_port.to_s %>" |
| 21 | + |
| 22 | +# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false, |
| 23 | +# then the host you use to connect to *this* Kibana instance will be sent. |
| 24 | +# elasticsearch.preserveHost: true |
| 25 | + |
| 26 | +# Kibana uses an index in Elasticsearch to store saved searches, visualizations |
| 27 | +# and dashboards. It will create a new index if it doesn't already exist. |
| 28 | +# kibana.index: ".kibana" |
| 29 | +kibana.index: "<%= p('kibana.kibana_index') %>" |
| 30 | + |
| 31 | +# The default application to load. |
| 32 | +# kibana.defaultAppId: "discover" |
| 33 | +kibana.defaultAppId: "<%= p('kibana.default_app_id') %>" |
| 34 | + |
| 35 | +# If your Elasticsearch is protected with basic auth, these are the user credentials |
| 36 | +# used by the Kibana server to perform maintenance on the kibana_index at startup. Your Kibana |
| 37 | +# users will still need to authenticate with Elasticsearch (which is proxied through |
| 38 | +# the Kibana server) |
| 39 | +# elasticsearch.username: "user" |
| 40 | +# elasticsearch.password: "pass" |
| 41 | + |
| 42 | +# SSL for outgoing requests from the Kibana Server to the browser (PEM formatted) |
| 43 | +# server.ssl.cert: /path/to/your/server.crt |
| 44 | +# server.ssl.key: /path/to/your/server.key |
| 45 | + |
| 46 | +# Optional setting to validate that your Elasticsearch backend uses the same key files (PEM formatted) |
| 47 | +# elasticsearch.ssl.cert: /path/to/your/client.crt |
| 48 | +# elasticsearch.ssl.key: /path/to/your/client.key |
| 49 | + |
| 50 | +# If you need to provide a CA certificate for your Elasticsearch instance, put |
| 51 | +# the path of the pem file here. |
| 52 | +# elasticsearch.ssl.ca: /path/to/your/CA.pem |
| 53 | + |
| 54 | +# Set to false to have a complete disregard for the validity of the SSL |
| 55 | +# certificate. |
| 56 | +# elasticsearch.ssl.verify: true |
| 57 | + |
| 58 | +# Time in milliseconds to wait for elasticsearch to respond to pings, defaults to |
| 59 | +# request_timeout setting |
| 60 | +# elasticsearch.pingTimeout: 1500 |
| 61 | + |
| 62 | +# Time in milliseconds to wait for responses from the back end or elasticsearch. |
| 63 | +# This must be > 0 |
| 64 | +# elasticsearch.requestTimeout: 300000 |
| 65 | +elasticsearch.requestTimeout: <%= p('kibana.request_timeout') %> |
| 66 | + |
| 67 | +# Time in milliseconds for Elasticsearch to wait for responses from shards. |
| 68 | +# Set to 0 to disable. |
| 69 | +# elasticsearch.shardTimeout: 0 |
| 70 | +elasticsearch.shardTimeout: <%= p('kibana.shard_timeout') %> |
| 71 | + |
| 72 | +# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying |
| 73 | +# elasticsearch.startupTimeout: 5000 |
| 74 | + |
| 75 | +# Set the path to where you would like the process id file to be created. |
| 76 | +# pid.file: /var/run/kibana.pid |
| 77 | + |
| 78 | +# If you would like to send the log output to a file you can set the path below. |
| 79 | +# logging.dest: stdout |
| 80 | + |
| 81 | +# Set this to true to suppress all logging output. |
| 82 | +# logging.silent: false |
| 83 | + |
| 84 | +# Set this to true to suppress all logging output except for error messages. |
| 85 | +# logging.quiet: false |
| 86 | + |
| 87 | +# Set this to true to log all events, including system usage information and all requests. |
| 88 | +# logging.verbose: false |
| 89 | + |
| 90 | +# Configure development console |
| 91 | +console.enabled: <%= p("kibana.console_enabled") %> |
| 92 | +xpack.searchprofiler.enabled: <%= p("kibana.searchprofiler_enabled") %> |
| 93 | +xpack.grokdebugger.enabled: <%= p("kibana.grokdebugger_enabled") %> |
| 94 | + |
| 95 | +# configure apm |
| 96 | +xpack.apm.ui.enabled: <%= p("kibana.apm_enabled") %> |
| 97 | + |
| 98 | +# set reporting key for load balanced scenarios |
| 99 | +xpack.reporting.encryptionKey: <%= p("kibana.reporting_key") %> |
| 100 | + |
| 101 | +# disable x-pack |
| 102 | +xpack.monitoring.enabled: false |
| 103 | +xpack.graph.enabled: false |
| 104 | +xpack.ml.enabled: false |
| 105 | +xpack.security.enabled: false |
| 106 | +xpack.watcher.enabled: false |
| 107 | +xpack.spaces.enabled: false |
| 108 | + |
| 109 | +<% if_p('kibana.config_options') do p("kibana.config_options", {}).each do | k, v | %> |
| 110 | +<%= k %>: <%= v %><% end %> |
| 111 | +<% end %> |
0 commit comments