
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
GELF is an interesting protocol for shipping logs, which both a is a
supported input for Logstash and an available
log driver for Docker. This can be a nice choice for shipping
Docker logs. Unfortunately, doing so disables the docker log command, making
debugging on the Docker host difficult.
Enter gelfcap. This is a Node.js command line application which captures GELF packets from the network interface, decodes and prints them. This is a convenient way to tap into the logs being sent from a Docker container, without having to find them in your log aggregation system.
Depending on your system configuration, you may or may not need to run this as root.
$ npm install -g gelfcap
Unfortunately, you may need to run gelfcap as root in order to capture packets
from the network interface.
If mode is not specified for --bunyan-format, it defaults to short.
Usage: gelfcap [options]
Options:
-h, --help output usage information
-V, --version output the version number
-b --bunyan-format [mode] Parses and displays messages in bunyan format
-c --container [name] Filter on Docker container name
--container-id [id] Filter on Docker container id
--full-gelf Output full gelf contents, instead of just the message
-i --interface [interface] Listen on interface (required)
-p --port [port] GELF port to sniff on [12201]
-v --verbose Bump up logging level
Bunyan format modes:
short (default), long, simple, json, bunyan
Examples:
# Capture all gelf packets on eth0, displaying the message field
$ gelfcap --interface eth0
# Capture gelf logs the Docker container named 'nginx'
$ gelfcap --interface eth0 --container nginx
# Capture gelf logs from 'node-app', using bunyan for formatting
$ gelfcap --interface eth0 --container node-app --bunyan-format
# Display all gelf fields, and use jq for pretty-printing
$ gelfcap --interface eth0 --full-gelf | jq .
FAQs
GELF packet sniffer
We found that gelfcap 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.