Elastic Dev

397 posts

Elastic Dev banner
Elastic Dev

Elastic Dev

@elastic_devs

Where developers learn, build, and share. Elastic Dev is your source for hands-on demos, cheat sheets, explainers and more. Check out: @elastic

United States Katılım Ekim 2025
51 Takip Edilen2.1K Takipçiler
Sabitlenmiş Tweet
Elastic Dev
Elastic Dev@elastic_devs·
👋 Welcome to Elastic Dev — your new go-to for hands-on demos, cheat sheets, concept explainers and more. Get the latest on search, data, and GenAI straight from the source. Expect: - Practical demos and how-tos - Posts and technical deep dives from our Labs - Open source updates & more For anyone who loves building, learning and experimenting: let's get started. Hello, world.
English
12
10
64
30.8K
Elastic Dev
Elastic Dev@elastic_devs·
Too_many_buckets_exception is one of those errors that looks scary but usually means your query needs work, not a bigger limit. Common causes: • High-cardinality terms aggregations • Date histograms with too-small intervals • Deep nested aggregations • Wide dashboard time ranges Fix the query first. Raising search.max_buckets raises memory pressure. It should be a last step, not a first instinct.
Elastic Dev tweet media
English
1
0
1
81
Elastic Dev
Elastic Dev@elastic_devs·
Full breakdown here — covers episodic vs semantic vs procedural memory, how document-level security handles memory isolation, and a working Python notebook to build it yourself: go.es.io/4sKDc8i
English
0
0
2
88
Elastic Dev
Elastic Dev@elastic_devs·
Most AI agents don't have a memory problem. They have a memory management problem. Dumping full chat history into every prompt leads to: - Context poisoning - Slower responses - Higher token costs - Confused reasoning Selective memory fixes this. Here's how to build it with Elasticsearch.
Elastic Dev tweet media
English
1
0
11
24.1K
Elastic Dev
Elastic Dev@elastic_devs·
One prompt. Raw data in. Live Kibana dashboard out.
English
0
3
11
19.4K
Elastic Dev
Elastic Dev@elastic_devs·
Quick mental model: - LZ4 → faster stored field reads - ZSTD → better compression ratio This mostly affects stored fields and _source, not the query execution itself. One important detail: the codec only changes after segment merges. POST logs-index/_forcemerge?max_num_segments=1 So if your workload is logs, metrics, or analytics, switching from LZ4 → ZSTD can be a practical way to reduce storage while keeping indexing behavior largely unchanged.
English
0
0
0
69
Elastic Dev
Elastic Dev@elastic_devs·
Elasticsearch uses two compression algorithms for stored data By default it uses LZ4 for optimized fast reads. Switch to ZSTD to prioritize smaller index sizes: - Use index.codec: best_compression - Balance storage costs against decompression speed
Elastic Dev tweet media
English
1
1
8
206
Elastic Dev
Elastic Dev@elastic_devs·
Turn your AI agent into an Elastic expert. Elastic Agent Skills puts native platform expertise in your agent, built by the engineers who develop and ship Elastic. - Accurate ES|QL. - Correct Kibana dashboards. - Security and observability workflows that run correctly, first time.
English
2
3
98
82.6K
Elastic Dev
Elastic Dev@elastic_devs·
Does LogsDB compression cause data loss? Short answer: no. LogsDB uses lossless compression (ZSTD / best_compression) and log-aware indexing. Your documents stay fully queryable. Synthetic _source reconstructs the original JSON at read time instead of storing it — nothing is dropped, just recalculated.
Elastic Dev tweet media
English
2
0
6
337
Elastic Dev
Elastic Dev@elastic_devs·
SearchClaw gives your local AI agent access to Elasticsearch data. Built on @OpenClaw + Elasticsearch, no custom code required. What it does: - Semantic search via semantic_text - Filtered queries and aggregations - Log observability across multiple indices Skills compose at runtime — query your products against live weather data in a single request. Read-only by design.
Elastic Dev tweet media
English
5
14
197
352.5K
Elastic Dev
Elastic Dev@elastic_devs·
Running a logs-heavy workload and wondering how to cut disk usage? Synthetic _source skips storing the full JSON document. Instead, it reconstructs _source at read time, which can meaningfully reduce your storage footprint without changing how you query your data.
Elastic Dev tweet media
English
0
0
6
319
Elastic Dev
Elastic Dev@elastic_devs·
Day in the life of an Embedding Model @JinaAi_
English
1
20
201
12.5K
Elastic Dev
Elastic Dev@elastic_devs·
Logs are not generic documents. Treating them that way is expensive. In ELK, LogsDB uses log-aware sorting, better compression, and optimized storage layouts. Synthetic _source can reduce footprint even further. There is no data loss.
Elastic Dev tweet media
English
1
0
8
629
Elastic Dev
Elastic Dev@elastic_devs·
Wrong index. Bad query. Garbage context. Fix it. Bad tool design means wrong indexes, broken ES|QL, and bloated context. Learn from @helloiamleonie 1. Build "low floor, high ceiling" tools for Elasticsearch 2. Use ES|QL for precise, efficient data filtering 3. Evaluate and iterate for real-world accuracy
Elastic Dev tweet media
English
10
74
933
823.4K