-
Notifications
You must be signed in to change notification settings - Fork 501
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
Data Prepper documentation updates: autogeneration campaign #7707
Data Prepper documentation updates: autogeneration campaign #7707
Conversation
…port for autogeneration of processors by naming to match the processor and including the autogenerated comment. Signed-off-by: David Venable <[email protected]>
@@ -15,11 +15,21 @@ The `parse_json` processor parses JSON data for an event, including any nested f | |||
|
|||
You can configure the `parse_json` processor with the following options. | |||
|
|||
<!-- | |||
This table is autogenerated. Do not edit it. | |||
- name: obfuscate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miscopy
<!-- | ||
This table is autogenerated. Do not edit it. | ||
- name: obfuscate | ||
- pluginType: parse_json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
processor
Signed-off-by: David Venable <[email protected]>
@chenqi0805 , Thanks for catching those errors. I pushed a new change. |
_data-prepper/pipelines/configuration/processors/convert_entry_type.md
Outdated
Show resolved
Hide resolved
…_type.md Signed-off-by: Melissa Vagi <[email protected]>
_data-prepper/pipelines/configuration/processors/convert_entry_type.md
Outdated
Show resolved
Hide resolved
…_type.md Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
_data-prepper/pipelines/configuration/processors/convert_entry_type.md
Outdated
Show resolved
Hide resolved
…_type.md Signed-off-by: Melissa Vagi <[email protected]>
_data-prepper/pipelines/configuration/processors/convert_entry_type.md
Outdated
Show resolved
Hide resolved
…_type.md Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
Signed-off-by: Melissa Vagi <[email protected]>
_data-prepper/pipelines/configuration/processors/convert_entry_type.md
Outdated
Show resolved
Hide resolved
…_type.md Signed-off-by: Melissa Vagi <[email protected]>
| `keys`| Yes | Keys whose value needs to be converted to a different type. | | ||
| `type` | No | Target type for the key-value pair. Possible values are `integer`, `long`, `double`, `big_decimal`, `string`, and `boolean`. Default value is `integer`. | | ||
| `null_values` | No | 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`. | | ||
| `scale` | No | Modifies the scale when used to convert to a `big_decimal`. The default value is `0`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dlvenable @chenqi0805 Is this saying that scale is only modified when the option is converted to big_decimal
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just pushed a new commit that attempts to correct the wording.
We are modifying the scale of the big_decimal
value itself. This field is only applicable for big_decimal
.
Signed-off-by: David Venable <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@hdhalter This PR is blocking from me merging it b/c build is failing (see image below). The link isn't broken (the hyperlink is correct https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/parse-json/). A similar error for another doc link is happening in #7708 . Can I bypass the build requirement so that I can merge? |
Merging from main has fixed this. |
Updates Data Prepper documentation with some missing fields. Adds support for autogeneration of processors by naming to match the processor and including the autogenerated comment. Signed-off-by: David Venable <[email protected]> Signed-off-by: David Venable <[email protected]> Signed-off-by: Melissa Vagi <[email protected]> Co-authored-by: Melissa Vagi <[email protected]> Co-authored-by: Heather Halter <[email protected]> (cherry picked from commit 27c4122) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dlvenable - there was a broken link. It was parse-json.md in the file and I just fixed it to be parse_json.md. |
Thanks for merging! I added the backport label. |
…ch-project#7707) Updates Data Prepper documentation with some missing fields. Adds support for autogeneration of processors by naming to match the processor and including the autogenerated comment. Signed-off-by: David Venable <[email protected]> Signed-off-by: David Venable <[email protected]> Signed-off-by: Melissa Vagi <[email protected]> Co-authored-by: Melissa Vagi <[email protected]> Co-authored-by: Heather Halter <[email protected]> Signed-off-by: [email protected] <[email protected]>
…ch-project#7707) Updates Data Prepper documentation with some missing fields. Adds support for autogeneration of processors by naming to match the processor and including the autogenerated comment. Signed-off-by: David Venable <[email protected]> Signed-off-by: David Venable <[email protected]> Signed-off-by: Melissa Vagi <[email protected]> Co-authored-by: Melissa Vagi <[email protected]> Co-authored-by: Heather Halter <[email protected]> Signed-off-by: Sander van de Geijn <[email protected]>
Description
This is part of a campaign we have to move toward auto-generated documentation in Data Prepper.
This PR updates a few processors.
@chenqi0805
Issues Resolved
N/A
Version
N/A
Frontend features
N/A
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.