Image 1 — Elastic101 – Best Practice #002: shard size
Image 2 — Elastic101 – Best Practice #002: shard size
Image 3 — Elastic101 – Best Practice #002: shard size

Elastic101 – Best Practice #002: shard size

I've spent close to a decade running Elasticsearch clusters in production, from 3-node dev setups to multi-hundred-node deployments handling billions of documents a day.

One thing I've seen repeatedly in production is that teams either let shards balloon for years without noticing, or over-correct and split everything into tiny shards "to be safe."

Elastic101 – Best Practice #002 – Shard Size

Smaller shards increase overhead more cluster state to track, more per-shard costs (file handles, memory, translog), and more coordination work on every query.

Larger shards cause the opposite problem: recovery and rebalancing get painfully slow, and a single hot shard can bottleneck an entire index.

>The goal is to keep shard size around 50GB.

Pro tip: you cannot simply change the primary shard count of an existing index. If you need to change it, you typically need to use the Reindex API or the Shrink API, depending on the situation. Also, if you reindex a 200GB index, you should have at least 200GB of additional free disk space available in the cluster for the new index. Choose your primary shard count wisely from the start, fixing it later is expensive.

Previous Elastic101 best practices:

  1. Elastic101 Best Practice #001 – HTTP traffic

Try here: Searchali Elasticsearch Monitoring Connect your cluster in 10 seconds. No agent. No data leaves your machine.

u/Feeling_Current534 — 2 days ago

Elastic101 Best Practice #001 - http traffic

I’ve been working with Elasticsearch for almost 10 years, including 6 years of consulting and 4 years of training teams on Elasticsearch and related technologies. Over the years, I’ve seen the same mistakes come up again and again in production clusters, so I thought I’d share some of the best practices I’ve learned along the way.

For the first best practice, a simple misconception that is surprisingly easy to get wrong:

>Don’t send application HTTP traffic directly to master nodes.

This may come from architectures like Kubernetes, where the control plane has a central API endpoint. Elasticsearch is different: master nodes are for cluster management, not application traffic.

>Use dedicated coordinating nodes or data nodes for client traffic.

As a general rule of thumb, for clusters with less than 20 nodes, adding more data nodes is often more efficient than adding dedicated coordinating-only nodes. Of course, this depends on your workload, especially the size and complexity of aggregations and heavy queries.

Master ≠ API Server.

Want to see this traffic flow in real time on your own cluster?

You can try the tool I built it takes less than 10 seconds to connect and see which clients are hitting which Elasticsearch nodes.

Try here: No agent or server-side installation required; the connection is made directly from your browser. Searchali Elasticsearch Monitoring

If you’d like me to continue this series, an upvote would be appreciated. 🙂

u/Feeling_Current534 — 8 days ago
▲ 5 r/elasticsearch+2 crossposts

Elasticsearch Monitoring Tools Compared: Stack Monitoring vs AutoOps vs Searchali Monitoring

I've been consulting and training on Elasticsearch and other platforms for a while, and I kept running into the same pain point: needing a quick answer to "Is this cluster okay right now?" without opening Kibana or running curl every time.

So I built a Chrome extension that shows at-a-glance cluster stats directly from the browser toolbar. It works with both Elasticsearch and OpenSearch, and no data ever leaves your browser.

If you already use something like ElasticVue, think of this as an always-on health glance from the toolbar, focused on quick visibility and problem solving.

How it compares

Feature Official Stack Monitoring Elastic AutoOps Searchali Monitoring
What it is Elastic's native monitoring UI inside Kibana Elastic Cloud-connected diagnostic service Lightweight browser-based cluster monitor
Setup Requires an agent and shipping metrics to a monitoring cluster Zero setup on Elastic Cloud; Cloud Connect for self-managed deployments Zero setup — install and go from the toolbar
Cost Free for basic self-monitoring; a production monitoring setup (dedicated monitoring cluster, cross-cluster monitoring) typically requires a paid tier Free on Elastic Cloud / via Cloud Connect Free (1 cluster) / Premium (unlimited clusters + advanced features)
OpenSearch support ❌ No ❌ No ✅ Yes
Real-time metrics ✅ Yes ✅ Yes ✅ Yes
Historical / trend data ✅ Yes ✅ Yes ❌ No (current snapshot only)
Alerting Alerts are available; notification connectors require a paid tier Pre-configured alerts for slow queries, unbalanced loads, and misconfigurations Premium
Root cause analysis Limited — you interpret the metrics Explains what's wrong, why, and how to fix it Event-based — surfaces relevant events so you can follow the trail
Cost / resource optimization Limited / manual ✅ Yes ❌ No
Best for Teams fully on the Elastic Stack (also covers Kibana and Logstash monitoring) Teams wanting automated diagnosis and remediation guidance A fast "Is my cluster okay right now?" health glance

AutoOps is for real diagnostics and remediation - not just metrics.

Stack Monitoring gives you comprehensive dashboards, but you're responsible for interpreting them.

Searchali Monitoring isn't trying to replace either of those. It's built for the quick "Is my cluster okay right now?" check.

Happy to answer questions or hear feature requests.

reddit.com
u/Feeling_Current534 — 16 days ago
▲ 1 r/elasticsearch+1 crossposts

If you're running Observability or SIEM on Elasticsearch, you've probably been in this situation: cluster slowing down, heap climbing, and you're digging through _cat/indices, _cluster/stats, _cat/shards one by one trying to figure out what's eating your resources.

I got tired of doing that manually so I built a Chrome extension that pulls all of this into one dashboard. Shows indexing/search rate, hot-warm-cold storage per data stream, field usage (useful for spotting mappings bloated with fields nobody actually queries), and ILM rollover issues.

Nothing fancy, connects to your cluster directly via the standard APIs. No data goes anywhere.

Processing img yzpldb7pkxyg1...

You can add the extension here: https://chromewebstore.google.com/detail/elasticsearch-performance/eoigdegnoepbfnlijibjhdhmepednmdi

reddit.com
u/Feeling_Current534 — 4 months ago