Registry / logging / logstash-codec-json

logstash-codec-json

JSON →
library3.1.1rbrubygemsunverified

A Logstash plugin that encodes and decodes JSON-formatted events in the Logstash pipeline.

gem install logstash-codec-json
INSTALL
IMPORT
SIG · LOGSTASH-CODEC-JSO
L
logstash-codec-json
loggingrubyv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LogStash::Codecs::JSON
require 'logstash/codecs/json'

Decode a JSON string into a Logstash event

require 'logstash/codecs/json' codec = LogStash::Codecs::JSON.new codec.decode('{"message":"hello"}') do |event| puts event.get('message') end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
Resources
logstash-codec-json — gem install logstash-codec-json · libregistry