diff --git a/data-prepper-plugins/date-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/date/DateProcessorConfig.java b/data-prepper-plugins/date-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/date/DateProcessorConfig.java
index 12a1f79fff..2a69e74db7 100644
--- a/data-prepper-plugins/date-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/date/DateProcessorConfig.java
+++ b/data-prepper-plugins/date-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/date/DateProcessorConfig.java
@@ -155,8 +155,8 @@ public static boolean isValidPattern(final String pattern) {
})
private String outputFormat = DEFAULT_OUTPUT_FORMAT;
- @JsonProperty("to_origination_metadata")
- @JsonAlias("origination_timestamp_to_metadata")
+ @JsonProperty("origination_timestamp_to_metadata")
+ @JsonAlias("to_origination_metadata")
@JsonPropertyDescription("Include the origination timestamp in the metadata. " +
"Enabling this option will use this timestamp to report the EndToEndLatency metric " +
"when events reach the sink. Default is false
.")
diff --git a/data-prepper-plugins/flatten-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/flatten/FlattenProcessorConfig.java b/data-prepper-plugins/flatten-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/flatten/FlattenProcessorConfig.java
index 067eeef412..35e4ccdb62 100644
--- a/data-prepper-plugins/flatten-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/flatten/FlattenProcessorConfig.java
+++ b/data-prepper-plugins/flatten-processor/src/main/java/org/opensearch/dataprepper/plugins/processor/flatten/FlattenProcessorConfig.java
@@ -44,14 +44,14 @@ public class FlattenProcessorConfig {
})
private String target;
- @JsonProperty("remove_processed_fields")
- @JsonAlias("remove_source_keys")
+ @JsonProperty("remove_source_keys")
+ @JsonAlias("remove_processed_fields")
@JsonPropertyDescription("When true
, the processor removes all processed fields from the source. " +
"The default is false
which leaves the source fields.")
private boolean removeProcessedFields = false;
- @JsonProperty(REMOVE_LIST_INDICES_KEY)
- @JsonAlias("remove_list_items")
+ @JsonProperty("remove_list_items")
+ @JsonAlias(REMOVE_LIST_INDICES_KEY)
@JsonPropertyDescription("When true
, the processor converts the fields from the source map into lists and " +
"puts the lists into the target field. Default is false
.")
private boolean removeListIndices = false;
diff --git a/data-prepper-plugins/mutate-event-processors/src/main/java/org/opensearch/dataprepper/plugins/processor/mutateevent/ConvertEntryTypeProcessorConfig.java b/data-prepper-plugins/mutate-event-processors/src/main/java/org/opensearch/dataprepper/plugins/processor/mutateevent/ConvertEntryTypeProcessorConfig.java
index 5e0ce36118..0d938792c1 100644
--- a/data-prepper-plugins/mutate-event-processors/src/main/java/org/opensearch/dataprepper/plugins/processor/mutateevent/ConvertEntryTypeProcessorConfig.java
+++ b/data-prepper-plugins/mutate-event-processors/src/main/java/org/opensearch/dataprepper/plugins/processor/mutateevent/ConvertEntryTypeProcessorConfig.java
@@ -56,8 +56,8 @@ public class ConvertEntryTypeProcessorConfig implements ConverterArguments {
@JsonPropertyDescription("Target type for the values. Default value is integer
.")
private TargetType type = TargetType.INTEGER;
- @JsonProperty("null_values")
- @JsonAlias("null_conversion_values")
+ @JsonProperty("null_conversion_values")
+ @JsonAlias("null_values")
@JsonPropertyDescription("String representation of what constitutes a null value. If the field value equals one of these strings, then the value is considered null and is converted to null.")
private List nullValues;