From 3ba6e2fe04faf1872147b5358782ec989a7e6b22 Mon Sep 17 00:00:00 2001 From: Krishna Kondaka Date: Wed, 10 Jan 2024 01:26:53 +0000 Subject: [PATCH] Fixed typos in the documentation Signed-off-by: Krishna Kondaka --- data-prepper-plugins/truncate-processor/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/data-prepper-plugins/truncate-processor/README.md b/data-prepper-plugins/truncate-processor/README.md index f2c1d9c4d8..76a34dc431 100644 --- a/data-prepper-plugins/truncate-processor/README.md +++ b/data-prepper-plugins/truncate-processor/README.md @@ -12,10 +12,9 @@ pipeline: record_type: "event" format: "json" processor: - - trucate_string: - entries: - - source: "message" - length: 5 + - truncate: + source: "message" + length: 5 sink: - stdout: ``` @@ -62,7 +61,7 @@ pipeline: record_type: "event" format: "json" processor: - - trucate: + - truncate: source: "message" length: 5 start_at: 7