Type to search.

kibana-setup

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

The kibana-setup tool walks you through all required steps to securely connect Kibana with Elasticsearch.

Shell
bin/kibana-setup
[-t, --enrollment-token <token>] [-s, --silent]
[-V, --version] [-h, --help]

Use this command to configure a secure connection between Kibana and Elasticsearch. The tool guides you through the process of enrolling Kibana with a secured Elasticsearch cluster using an enrollment token. This is particularly useful for initial setup and configuration of Kibana in secured environments.

Important

You must have an enrollment token generated from your Elasticsearch cluster before running this command.

-t, --enrollment-token <token>
Elasticsearch enrollment token to use for configuring the connection.
-s, --silent
Prevent all logging output during the setup process.
-h, --help
Returns all of the command parameters.
-V, --version
Displays the Kibana version number.

The following command runs the interactive setup process:

Shell
bin/kibana-setup

The following command configures Kibana with a specific enrollment token:

Shell
bin/kibana-setup --enrollment-token <your-enrollment-token>

The following command runs setup silently with an enrollment token:

Shell
bin/kibana-setup --enrollment-token <your-enrollment-token> --silent