You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessor.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,7 @@ public Collection<Record<Event>> doExecute(Collection<Record<Event>> records) {
Copy file name to clipboardExpand all lines: data-prepper-plugins/dissect-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorConfig.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,10 @@ public class DissectProcessorConfig {
54
54
"For example, <code>/some_value == \"log\"</code>.")
55
55
privateStringdissectWhen;
56
56
57
+
@JsonProperty
58
+
@JsonPropertyDescription("If true, the configured fields in the <code>map</code> will be deleted if the processor was successful.")
59
+
privatebooleandeleteSource;
60
+
57
61
publicStringgetDissectWhen(){
58
62
returndissectWhen;
59
63
}
@@ -64,6 +68,10 @@ public Map<String, String> getMap() {
@AssertTrue(message = "target_type must be a Map<String, TargetType>. Valid options include [ 'integer', 'string', 'double', 'boolean', 'long', and 'big_decimal' ]")
Copy file name to clipboardExpand all lines: data-prepper-plugins/dissect-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/dissect/DissectProcessorTest.java
0 commit comments