
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
elasticsearch-streamer
Advanced tools
A programmatic and command-line utility for streaming docs from Elasticsearch indices and putting docs into indices in bulk.
A programmatic and command-line utility for streaming docs from Elasticsearch indices and putting docs into indices in bulk.
npm install -g elasticsearch-streamer
Save all docs in Index A to a file:
ess get localhost:9200/a > b.txt
Put all docs in a file into Index C:
ess put localhost:9200/c < b.txt
Moves docs from Index A to Index B:
ess get localhost:9200/a | ess put localhost:9200/b
Move docs from host1's index A to host2's index A:
ess get host1:9200/a | ess put host2:9200
Move docs from host1's indices into the same indices at host2:
ess get host1:9200 | ess put host2:9200
Stream all docs where foo
is bar
:
ess get localhost:9200/a --search `{"body": {"query": {"term": {"foo": "bar"}}}}`
Streams documents out of the specified Elastic index endpoint as JSON.
Options:
search
: Client search options as JSON, e.g. {"body": {"query": {"term": {"foo": "bar"}}}}
. Passed directly to client.search
; see ElasticSearch's Javascript API docs. scroll
defaults to 10s
and size
to 100
.Put documents (as JSON strings) from stdin into the specified Elastic index endpoint, and stream bulk results objects (JSON strings).
Options:
batch
: size of bulk batches. Default: 100
.Use with jq to parse and filter JSON.
FAQs
A programmatic and command-line utility for streaming docs from Elasticsearch indices and putting docs into indices in bulk.
The npm package elasticsearch-streamer receives a total of 0 weekly downloads. As such, elasticsearch-streamer popularity was classified as not popular.
We found that elasticsearch-streamer 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.