Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
bunyan-redis-watch
Advanced tools
This is a simple commandline tool which allows you to watch bunyan streams saved to redis (via bunyan-redis).
You must have bunyan installed globally, since the tool uses bunyan to parse the JSON log.
Install globally via npm:
npm install -g bunyan
npm install -g bunyan-redis-watch
Now you can run the commandline tool.
bunyan-redis --key=<key>
bunayn-redis --key=<key> --port=<port> --host=<host>
bunyan-redis --key=<key> --port=<port> --host=<host> --password=<password>
The tool uses the redis MONITOR command to observe all redis traffic, and filters for LPUSH commands on the given key. Using the MONITOR command impacts performance significantly, according to the redis docs, each MONITOR client can reduce throughput by more than 50%.
Therefore, it is recommended that you only use this tool for debugging, since it will have a significant impact on the performance of your REDIS infrastructure.
In addition, in order to not replicate the infrastructure in bunyan for printings messages, it uses the bunyan CLI tool to print messages.
FAQs
Watch a bunyan log stream in redis
We found that bunyan-redis-watch 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.