← Explore all skills

DATA PIPELINES / elastic

Elasticsearch File Ingest

Load CSV or JSON into Elasticsearch with explicit mapping and bulk-result checks.

“Load CSV and JSON files into Elasticsearch indices using the bulk API and explicit mappings when field types matter. Use when batch-importing local files, converting CSV rows or JSON arrays to NDJSON bulk format, or verifying document counts and mappings after ingest — not for Logstash pipelines, Beats, custom scripts, or index-to-index reindex.”

01 / THE REASONING

Why this made the selection.

  • The definition distinguishes CSV rows, JSON arrays and NDJSON and forbids sending raw arrays as one bulk document; index-to-index migration is outside this skill.
  • Import a CSV export while preserving numeric/date types and reporting item-level failures.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/elasticsearch/elasticsearch-ingest/SKILL.md
  • LICENSE
  • README.md

Our findings

  • The definition distinguishes CSV rows, JSON arrays and NDJSON and forbids sending raw arrays as one bulk document; index-to-index migration is outside this skill.

Not established by this review

  • Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add elastic/agent-skills/skills/elasticsearch/elasticsearch-ingest

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/elastic/agent-skills/tree/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-ingest
  1. Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
  2. Inspect file shape, choose stable IDs and mappings, emit valid bulk NDJSON, inspect every item result and verify representative documents.

Before you start

  • Configured elastic CLI with stack es support, compatible Elasticsearch deployment and scoped credentials; local CSV/JSON inputs and conversion tooling

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-ingest/SKILL.md

    Supports: summary, review, install, access, limitations

  2. Pinned LICENSE ↗Checked

    https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/LICENSE

    Supports: license

  3. Pinned README.md ↗Checked

    https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/README.md

    Supports: summary, review, install, access, limitations

  4. https://raw.githubusercontent.com/elastic/agent-skills/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-ingest/SKILL.md

    Supports: upstreamDescription, review.notTested, review.reviewedAt, limitations

Evidence & Ask