Operations 2 min read

How to Install and Configure Elasticsearch and Kibana on macOS with Homebrew

This step‑by‑step guide shows how to install JDK, set up Elasticsearch via Homebrew, verify its operation, optionally adjust the cluster name, install Kibana, and access the Kibana web UI for managing Elasticsearch data.

JavaEdge
JavaEdge
JavaEdge
How to Install and Configure Elasticsearch and Kibana on macOS with Homebrew

First ensure JDK 1.8.0_73 or newer is installed; verify with java -version.

Install Elasticsearch

Use Homebrew to install Elasticsearch: brew install elasticsearch. Start the service by running elasticsearch. For small‑scale applications the default out‑of‑the‑box configuration works without further changes.

Verify Elasticsearch

Open http://localhost:9200/?pretty in a browser; the JSON response displays the node name, cluster name (default elasticsearch) and version number (e.g., 5.2.0).

Elasticsearch response showing node and version information
Elasticsearch response showing node and version information

Configure Cluster (Optional)

If you need a custom cluster name, edit elasticsearch.yml and set the cluster.name property accordingly.

Install Kibana

Kibana provides a web UI for interacting with Elasticsearch. Install it via Homebrew: brew install kibana. Launch Kibana by executing the kibana command.

Access Kibana UI

Open http://localhost:5601 in a browser; you can now explore and manage your Elasticsearch indices through Kibana.

Kibana web interface
Kibana web interface
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

OperationsElasticsearchInstallationKibanaHomebrew
JavaEdge
Written by

JavaEdge

First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.