Class JsonlLogWriter

All Implemented Interfaces:
Configurable, LogEventWriter

public class JsonlLogWriter extends BaseLogEventWriter implements Configurable
JSONL (one JSON object per line) LogEventWriter with built-in PCI protection.

When serializing ISOMsg objects in LogEvent payloads, sensitive fields are masked or wiped inline — no upstream ProtectedLogListener required.

Configuration properties (same convention as ProtectedLogListener):

  • protect — space-separated field numbers to mask via ISOUtil.protect(String) (default: "2")
  • wipe — space-separated field numbers to replace with [WIPED] (default: "35 45 48 52 55")

Output is suitable for jq, Filebeat, and Elasticsearch ingestion.

Since:
3.0.0