Elasticsearch Data Exploration in Your Terminal
summary
Perl command‑line utilities for exploring Elasticsearch clusters, notably esutils and the essearch tool, let a terminal workflow replace Kibana: REST API connection, dotfile credential helpers, index‑basename discovery (example finds 62 indexes), field enumeration, tabular output, tailing, CSV/TSV/JSON input to build terms queries, CIDR expansion and exact‑term =prefixing, TSV dump for piping to jq or paste tools. Aggregations exist but are limited to one calendar day and two levels to avoid cluster blowups (he hit ~40 crashes during development).
AI-written summary · about
chapters (16)
- 0:00Introduction to terminal Elasticsearch
- 1:48Why terminal over browsers
- 6:22Unix philosophy and tools
- 8:26Data exploration and Elasticsearch
- 9:50ESUtils and incident response
- 11:56Introducing es_search tool
- 12:58Documentation and help
- 15:49Command-line switches overview
- 17:13Exploring data with es_search
- 19:07Index fields and status analysis
- 21:15Log tailing and output formats
- 22:18Timestamp and query optimizations
- 23:43Advanced query syntax
- 25:31Aggregations and limitations
- 26:55Data output and sharing
- 28:00Future plans and Q&A
