Skip to content

Commit

Permalink
add map example
Browse files Browse the repository at this point in the history
Signed-off-by: Katherine Shen <[email protected]>
  • Loading branch information
shenkw1 committed Oct 30, 2024
1 parent e77e996 commit 7d98717
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d98717

Please sign in to comment.