Elastic CLI brings the power of Elastic Stack to your automation pipelines, on local machines, or remote servers.
It puts Elasticsearch, Kibana, and Elastic Cloud APIs behind one elastic command:
• Named contexts, kubectl-style: switch with --use-context. API keys go to your OS keychain
• --json prints parseable output and nothing else. --output-fields and --output-template shape the rest
• elastic es and elastic kb are aliases for the stack commands
• Failures are distinguishable from success “even if stdout and stderr are never read”
An ES|QL query is one line:
elastic es esql query --format tsv --query "FROM logs-* | STATS errors = COUNT(*) BY exception.type, service(.)name | SORT errors DESC | LIMIT 5"
Run against the logs of a demo Android app, it returns three rows:
• 65 java(.io.)IOException in mobile-demo-android-edotfulltraced
• 2 java.lang.ArrayIndexOutOfBoundsException in mobile-demo-android-edotfull
• 1 (java.)net.SocketException in mobile-demo-android-edotfulltraced
It is a technical preview and not every API is a command yet. Check elastic --help before you build on it.
Elastic is aware of CVE-2026-114938 (Java4Shell), an OpenJDK remote code execution (RCE) vulnerability. Elasticsearch 7.17.3+ is affected, but only on x86-64 hosts with AVX512_VBMI. ARM and older x86 are not. Guidance: https://t.co/6FMVlBPuRB
Minimum Search VCUs is now on Elasticsearch Serverless.
If you know when traffic is coming (a sale email, a newsletter, the start of the business day), you can scale the search tier before your traffic arrives.
You set a floor for search VCUs and autoscaling stays on, so searchable data and search load can still push search VCU above it.
The guideline is to set it 30 to 60 minutes ahead of the traffic.
The trade-off: you pay for the minimum search VCU even when the search loads is below the minimum or idle and it stays until you lower it.
Which of the three pillars of Observability offers you the right answer when an incident happens or a latency graph spikes?
Three questions for an SRE or operations team:
• Metrics: “what’s happening”. Numbers you can set alerting thresholds on
• Traces: “where is it happening”. They help discover bottlenecks
• Logs: “why is it happening”. Timestamped records of events
Elastic Observability combines logs, metrics, application traces and user experience data in a single, integrated platform.
The pillars post also proposed profiling as a fourth. OpenTelemetry Profiles reached Alpha in March 2026.
SRE has changed a lot in 10 years. We're kicking off a special 2-part series with the minds behind "Site Reliability Engineering, 2nd Edition"! 📖
Tune into Part 1 (Season 7, Episode 5) now! 🎧
https://t.co/nkzVrTfQG0 https://t.co/5Y4PByGiHm
Deleting a document in Elasticsearch doesn't delete it. Not right away.
Data lives in immutable Lucene segments. A delete or update only marks the old doc as gone. The disk space comes back when segments merge and get rewritten.
Force merge does that rewrite on demand:
> fewer segments, faster searches
> deleted docs finally purged
One catch: it's heavy disk and CPU work. Only run it on indices you've stopped writing to.
In ILM, force_merge_index: true merges before the frozen snapshot, and that load lands on the tier before frozen.
Tier struggling? Add capacity or a warm forcemerge phase. Don't just turn the merge off.
Elastic Workflows reduces the complexity of investigating and analyzing alerts.
It ships an RCA example that does the boring half:
• Attach it to an observability alerting rule
• An Agent Builder agent investigates the alert and proposes root causes
• A case opens with an AI-written title and description, the alert attached, the analysis as a comment
• A final comment lists every reasoning step and tool call, so you can audit how it got there
Deterministic steps do the plumbing. The agent only reasons where reasoning helps. In the Labs walkthrough the workflow ran in 3 minutes 22 seconds, all five steps successful. One run, manual trigger.
The agent proposes root causes. The Labs walkthrough’s advice: start read-only. Self-managed, Elastic Workflows needs an Enterprise subscription. GA since 9.4.
Docs linked below.
A cheap recall fix moved from step 31 to step 2.
DiskBBQ auto-calibration walks a list of candidate configs in cost order and keeps the first one predicted to hit 90% recall@10. So the order of that list decides what you ship.
The old order spent document bits too early. Rerank depth could swing the cost by more than a whole bit, so a 2-bit encoding with shallow reranking got tried before a 1-bit encoding with deeper reranking. Preconditioning only got a turn if every other config missed the target, which rarely happened.
That matters because document bits are permanent: you pay for them on every vector for as long as the segment lives. Deeper reranking or preconditioning can buy the same recall without growing the index.
We changed 2 things:
• Cost model: 3.0 × document_bits + 1.3 × rerank_depth (the weight was 1), so every 1-bit config sorts before any 2-bit one
• Preconditioning: tried on and off at every step, instead of as a fallback
Across our 11 benchmark datasets, 4-bit symmetric encodings are gone and preconditioning now gets picked on 3 of them.
The trade-off: where the config changed, recall@10 moved by at most 3 points in either direction with every cluster visited. Calibration still takes 1 to 2 seconds per merge.
If auto-calibration is already on for your bbq_disk field, there's nothing to change. Newly merged segments pick up the new order, and existing ones keep their config until they merge.
Full cost model, sweep order and per-dataset results:
https://t.co/ImooLCF8iZ
You rotated your CA. Every config file has the new cert.
Some clients still fail with: x509: certificate signed by unknown authority
The culprit: long-running processes.
Most clients load their trust store once, at startup. Changing the file on disk changes nothing until they restart. We've seen Metricbeat sidecars up for months still trusting the old CA.
Safer rotation:
> Trust both old + new CA first
> Restart every client, sidecars included
> Then switch the server cert
> Remove the old CA last
Your API's average latency is 80ms. Looks fine.
Now look closer: 98 requests took 20ms. 2 took 3 seconds.
Averages hide the tail. And the tail is real users, often your heaviest ones, because more requests means more chances to hit it.
Watch p95 and p99, not just the mean.
In Elastic APM, switch the latency chart from Average to 95th or 99th percentile and see who's actually waiting.
Ask semantic search for "error E1042" and you may get docs about errors in general.
Not the one with E1042.
Vectors capture meaning. Exact tokens like error codes, SKUs and names get blurred.
Keyword search (BM25) nails exact matches but misses meaning.
So run both, and merge the two ranked lists with Reciprocal Rank Fusion (RRF). Docs that rank high in either list rise to the top, with no need to normalize two very different score scales.
That's hybrid search.
How does search find one word in a billion documents in milliseconds?
It doesn't read the documents.
At index time, Elasticsearch builds an inverted index: every word mapped to the list of documents that contain it. Like the index at the back of a book.
Search "timeout" > jump to that entry > get the doc IDs > fed into BM25 for scoring.
The work moves from search time to write time. That trade is why search is fast.
Ask a 56-page scanned PDF a question in plain language.
Get an answer stamped with the page it came from.
jina-ocr-v1 turns every page into structured Markdown, tables included. Elasticsearch embeds it at ingest, so there's no chunking or embedding code to write.
Walkthrough linked below 👇
Big win for local LLM inference!
This open-source engine generates tokens 2.7x faster than Ollama on a MacBook:
I tested it on a base M5 MacBook Pro with Qwen3.5 4B at 4-bit and the same 9.2k-token prompt. Ollama ran its MTP build, so both had speculative decoding.
- Prefill: Ollama 464 tok/s, Magnitude 755 tok/s (1.6x)
- Decode: Ollama 22.6 tok/s, Magnitude 60.0 tok/s (2.7x)
- End to end, Magnitude finished in half the time
The video below shows both runs side by side.
The Ollama numbers don’t mean it’s badly built. Its kernels were simply tuned in advance.
A kernel is the small GPU program behind every matrix multiply and attention step. Its speed depends on choices like how work is split across GPU cores and how data moves through memory.
The best choices change with every chip. Apple Silicon alone spans 8 to 80 GPU cores and under 70 to over 800 GB/s of bandwidth, and every model has its own layer sizes.
A prebuilt engine has to pick one set of settings for all of them, so most local setups run on a compromise.
Magnitude replaces that compromise with tuning on your machine:
↳ When you download a model, it compiles that model’s kernels locally.
↳ It tries different kernel configurations and keeps whichever runs fastest on your chip.
↳ It pairs each model with the fastest speculative decoding drafter it has found, so each pass of the model produces more than one token.
GitHub repo: https://t.co/gpwU34NFlw
(don’t forget to star it 🌟)
This matters most for agents. Every file and tool output has to be processed before the model writes anything, and that prefill step is where kernel efficiency shows up. Concurrent sessions also share prefix caches, so parallel agents don’t slow each other down.
Magnitude is an open-source (Apache 2.0) inference engine written in Rust. It plugs into Claude Code, Codex, OpenCode, Pi and other agents with one click.
I shared the GitHub repo above.
You have a specific visual in your head, but have no idea which file it’s in.
This walkthrough uses Jina embeddings + Elasticsearch to search video by describing what you’re looking for, in natural language: https://t.co/F0Nxbr9zn7
You receive back the matching scene with timestamps.
Another insane way to use Jev:
Jev makes it dramatically cheaper to identify which corrections and trajectories from an agent run are reusable across agents.
And finally, someone open-sourced a self-improving memory layer that can put that signal to work across agent harnesses:
- Claude Code
- Codex
- Cursor
- OpenCode
- Hermes, and 20+ more
Beacon by @asymptotelabs continuously captures agent sessions across harnesses and stores their traces in a shared index.
I used it with Jev to build a live cross-agent memory workflow.
Beacon captures each run as it happens across all harnesses on my machine. Then Jev evaluates whether the trace contains a reusable engineering lesson, and the approved lesson becomes available to the next agent.
GitHub repo: https://t.co/7n0b9guyQI
(don't forget to star it ⭐)
Preserving an agent run and learning from it are two different problems.
Most traces contain file reads, failed commands, routine exploration, and implementation details that only apply to one task.
Passing the complete transcript to another agent adds context without identifying what matters.
In this workflow, one agent never receives another agent's raw transcript. It receives only the specific engineering lesson produced from the evaluated trace.
A correction made in one agent can then prevent the same mistake when another agent encounters a similar problem.
The recording shows the complete workflow I built.
If you want to dive deeper into Jev, I also wrote a hands-on guide to building this Jev-style decision path with open models, entirely locally.
Read it below.
When people say “hybrid search,” they usually mean keyword + semantic.
But what about semantic + geospatial?
If I search for “a quiet café to work from,” understanding what I mean is only half the job. I also need it to be nearby.
Building search into a Java music library with plain Lucene, one step at a time.
The tracks are indexed. Now we query them.
Should "Bob" in a title count for more than "Bob" in an album?
Step 1: start with no criteria. Open an IndexSearcher and fetch the first 10 hits. Each hit carries a Lucene doc number, so read the stored id and join back to your beans.
THIS IS A PURE F*CKING GOLDMINE
Anthropic just shared one of the best tricks for Claude Code.
The idea: let Opus 5.5 write the plan as a script, and let a swarm of cheaper agents run it.
Bigger jobs and way fewer Opus tokens, because the script holds the plan and Opus only sees the final answer.
You just launch Claude Code like this:
claude --model opus --effort ultracode
here's the split:
→ Opus 5.5 turns your task into a workflow script
→ Haiku 5.5 agents scan every file in parallel
→ Sonnet 5.5 agents patch each fix in its own isolated copy
→ you stop burning Opus context on a hundred agent transcripts
Opus only shows up at three moments:
→ writing the workflow before the run
→ reading the verified results after it
→ signing off before anything ships
Opus plans. Haiku scans. Sonnet ships.
JEV engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to JEV in milliseconds, and the big models only see the ones that split
the full tree
> Opus 5.5 runs the main session and writes the workflow
> scan audits every file on Haiku 5.5
> edit patches each fix on Sonnet 5.5 in an isolated copy
> verify cross-checks every finding on Sonnet 5.5
> Opus 5.5 reads only what survived verification
> JEV routes micro-forks in milliseconds
paste the tree and this prompt into Claude Code ↓
"Rebuild my Claude Code setup around this tree:
1. Run the main session on Opus 5.5 with ultracode on.
2. In every workflow, run read-only scan stages on Haiku 5.5 and edit stages on Sonnet 5.5, each edit in its own isolated copy.
3. Add one rule to CLAUDE.md: every finding gets an independent verifier agent before it's reported, and fix loops stop after two rounds with no progress.
4. Route fast deterministic forks (tool choice, path selection, retries) through JEV.
Show me every change as a diff first. No edits until I say go."
↳ https://t.co/1MiKDqGANA
save it, it'll come in handy.