
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
Elastic search CLI for nodejs.

$ npm install -g es-cli
Usage: es [options] [query]
Options:
-h, --help output usage information
-V, --version output the version number
-u, --url <url> elastic search url
Since manually specifying --url is annoying, you may want to alias this executable:
alias logs='es -u <es-url> --index logs --type log'
Allowing you to simply run:
$ logs level:error AND hostname:api6-1
Check out the last 10 errors:
$ es -u <es-url> level:error
Check out the last 1000 events for the users luna and tobi:
$ es -u <es-url> user:luna OR user:tobi LIMIT 1000
Limit the number of results and sort:
$ es -u <es-url> level:error LIMIT 10 SORT timestamp:desc
Specify the fields to respond with:
$ es -u <es-url> level:error FIELDS message
$ es -u <es-url> login FIELDS id name
Log objects should use the following format:
{ timestamp: <timestamp>,
hostname: <hostname>,
message: <message-object>,
level: <log-level>,
type: <log-type> }
For example:
{ timestamp: 1390948474720,
hostname: 'data',
message: { user: 'tobi', name: { first: 'Tobi', last: 'Ferret' } },
level: 'info',
type: 'user logout' }
MIT
FAQs
Elasticsearch CLI for querying your logs
The npm package es-cli receives a total of 9 weekly downloads. As such, es-cli popularity was classified as not popular.
We found that es-cli 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.