Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
elasticsearch-import
Advanced tools
elasticsearch-import import JSON files into your elasticsearch
$> npm install -g elasticsearch-import
$> elasticsearch-import
$> elasticsearch-import --help
Usage: node elasticsearch-import.js
-i, --index=ARG index where you will import
-t, --type=ARG type of docs that you will import
--input=ARG name of file the JSON will be import
--withId update with the _id in the JSON
-P, --port=ARG port to connect to
-H, --host=ARG server to connect to
-h, --help display this help
-v, --version show version
$> elasticsearch-import --input fileToImport.json --host localhost --port 9200 --index test --type test
You can use the --withId option if you want to keep the _id of every object on the JSON file
otherwise it will reattribute a _id for every object
For export data from elasticsearch you can use the elasticsearch-export tool.
More information on : https://github.com/boubaks/elasticsearch-export
FAQs
import JSON files into your elasticsearch
The npm package elasticsearch-import receives a total of 7 weekly downloads. As such, elasticsearch-import popularity was classified as not popular.
We found that elasticsearch-import demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.