Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add file for primary fields generation in processor schema #5185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's put this in the data-prepper-plugin-schema-cli project.

"convert_entry_type": [
"key", "keys"
],
"csv": [
"source"
],
"date": [
"match", "from_time_received"
],
"delay": [
"for"
],
"grok": [
"match"
],
"key_value": [
"source", "default_values", "include_keys", "exclude_keys", "whitespace", "skip_duplicate_values"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why include skip_duplicate_values?

],
"parse_ion": [
"source", "handle_failed_events"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if handle_failed_events is really a key field for these.

],
"parse_json": [
"source", "handle_failed_events"
],
"parse_xml": [
"source", "handle_failed_events"
],
"service_map": [
"db_path"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this one.

],
"translate": [
"file", "mappings"
]
}
Loading