From dba8d00f614bea3fbd1b36713e3cbbf571c5a7d4 Mon Sep 17 00:00:00 2001 From: Oleg Don <31502412+HeadHunter483@users.noreply.github.com> Date: Fri, 21 Feb 2025 11:57:49 +0500 Subject: [PATCH] Fix rename docs --- plugin/README.md | 14 +++++++------- plugin/action/README.md | 14 +++++++------- plugin/action/rename/README.md | 14 +++++++------- plugin/action/rename/rename.go | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/plugin/README.md b/plugin/README.md index 108ef784f..69ed8ef08 100755 --- a/plugin/README.md +++ b/plugin/README.md @@ -550,7 +550,7 @@ pipelines: Input event: -```json +``` { "my_object": { "field": { @@ -562,11 +562,11 @@ Input event: Output event: -```json +``` { "my_object": { "field": { - "new_sub_field":"value" // renamed + "new_sub_field":"value" # renamed } } } @@ -587,7 +587,7 @@ pipelines: Input event: -```json +``` { "_HOSTNAME": "example-host", "__REALTIME_TIMESTAMP": "1739797379239590" @@ -596,10 +596,10 @@ Input event: Output event: -```json +``` { - "host": "example-host", // renamed - "ts": "1739797379239590" // renamed + "host": "example-host", # renamed + "ts": "1739797379239590" # renamed } ``` diff --git a/plugin/action/README.md b/plugin/action/README.md index ebed76862..716f33de9 100755 --- a/plugin/action/README.md +++ b/plugin/action/README.md @@ -393,7 +393,7 @@ pipelines: Input event: -```json +``` { "my_object": { "field": { @@ -405,11 +405,11 @@ Input event: Output event: -```json +``` { "my_object": { "field": { - "new_sub_field":"value" // renamed + "new_sub_field":"value" # renamed } } } @@ -430,7 +430,7 @@ pipelines: Input event: -```json +``` { "_HOSTNAME": "example-host", "__REALTIME_TIMESTAMP": "1739797379239590" @@ -439,10 +439,10 @@ Input event: Output event: -```json +``` { - "host": "example-host", // renamed - "ts": "1739797379239590" // renamed + "host": "example-host", # renamed + "ts": "1739797379239590" # renamed } ``` diff --git a/plugin/action/rename/README.md b/plugin/action/rename/README.md index 860d8a9c2..7f3aad8fd 100755 --- a/plugin/action/rename/README.md +++ b/plugin/action/rename/README.md @@ -22,7 +22,7 @@ pipelines: Input event: -```json +``` { "my_object": { "field": { @@ -34,11 +34,11 @@ Input event: Output event: -```json +``` { "my_object": { "field": { - "new_sub_field":"value" // renamed + "new_sub_field":"value" # renamed } } } @@ -59,7 +59,7 @@ pipelines: Input event: -```json +``` { "_HOSTNAME": "example-host", "__REALTIME_TIMESTAMP": "1739797379239590" @@ -68,10 +68,10 @@ Input event: Output event: -```json +``` { - "host": "example-host", // renamed - "ts": "1739797379239590" // renamed + "host": "example-host", # renamed + "ts": "1739797379239590" # renamed } ``` diff --git a/plugin/action/rename/rename.go b/plugin/action/rename/rename.go index e643ef809..349aeaca6 100644 --- a/plugin/action/rename/rename.go +++ b/plugin/action/rename/rename.go @@ -30,7 +30,7 @@ pipelines: Input event: -```json +``` { "my_object": { "field": { @@ -42,11 +42,11 @@ Input event: Output event: -```json +``` { "my_object": { "field": { - "new_sub_field":"value" // renamed + "new_sub_field":"value" # renamed } } } @@ -67,7 +67,7 @@ pipelines: Input event: -```json +``` { "_HOSTNAME": "example-host", "__REALTIME_TIMESTAMP": "1739797379239590" @@ -76,10 +76,10 @@ Input event: Output event: -```json +``` { - "host": "example-host", // renamed - "ts": "1739797379239590" // renamed + "host": "example-host", # renamed + "ts": "1739797379239590" # renamed } ``` }*/