From 7d98717c8ff957ab42b745d63a52ecc128794829 Mon Sep 17 00:00:00 2001
From: Katherine Shen <katshen@amazon.com>
Date: Wed, 30 Oct 2024 14:06:42 -0500
Subject: [PATCH] add map example

Signed-off-by: Katherine Shen <katshen@amazon.com>
---
 .../plugins/processor/dissect/DissectProcessorConfig.java      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorConfig.java b/data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorConfig.java
index 0fb1b09644..84a1465cb2 100644
--- a/data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorConfig.java
+++ b/data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorConfig.java
@@ -29,6 +29,9 @@ public class DissectProcessorConfig {
             "For details on how to define fields in the <code>dissect</code> pattern, see " + 
             "<a href=\"https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/dissect/#field-notations\">here</a>. " +
             "An example dissect pattern is <code>%{Date} %{Time} %{Log_Type}: %{Message}</code>, which will dissect into four fields.")
+    @ExampleValues({
+        @Example(value = "%{Date} %{Time} %{Log_Type}: %{Message}", description = "Extracts the input data into the date, time, log_type, and message fields.")
+    })
     private Map<String, String> map;
 
     @JsonProperty(value = "target_types", defaultValue = DEFAULT_TARGET_TYPES)