Skip to content

Add substring expression function documentation#12094

Merged
kolchfa-aws merged 2 commits into
opensearch-project:mainfrom
bagmarnikhil:feature/substring-functions-docs
Mar 17, 2026
Merged

Add substring expression function documentation#12094
kolchfa-aws merged 2 commits into
opensearch-project:mainfrom
bagmarnikhil:feature/substring-functions-docs

Conversation

@bagmarnikhil

Copy link
Copy Markdown
Contributor

Add documentation for four new Data Prepper expression functions: substringAfter, substringBefore, substringAfterLast, and substringBeforeLast. These functions extract portions of a string by delimiter and were added in opensearch-project/data-prepper#6621.

Update the functions index page to include the new functions.

Resolves: opensearch-project/data-prepper#6612

Description

Describe what this change achieves.

Issues Resolved

Closes #[Replace this text, including the brackets, with the issue number. Leave "Closes #" so the issue is closed properly.]

Version

List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Add documentation for four new Data Prepper expression functions:
substringAfter, substringBefore, substringAfterLast, and
substringBeforeLast. These functions extract portions of a string
by delimiter and were added in opensearch-project/data-prepper#6621.

Update the functions index page to include the new functions.

Resolves: opensearch-project/data-prepper#6612
Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>
@github-actions

Copy link
Copy Markdown

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference).

@kolchfa-aws kolchfa-aws added Doc review PR: Doc review in progress backport 3.5 labels Mar 16, 2026
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

@kolchfa-aws kolchfa-aws left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @bagmarnikhil! Doc review complete.

@kolchfa-aws kolchfa-aws merged commit 08ff56d into opensearch-project:main Mar 17, 2026
6 checks passed
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Mar 17, 2026
* Add substring expression function documentation

Add documentation for four new Data Prepper expression functions:
substringAfter, substringBefore, substringAfterLast, and
substringBeforeLast. These functions extract portions of a string
by delimiter and were added in opensearch-project/data-prepper#6621.

Update the functions index page to include the new functions.

Resolves: opensearch-project/data-prepper#6612
Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>

* Doc review

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
(cherry picked from commit 08ff56d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
aryasoni98 pushed a commit to aryasoni98/documentation-website that referenced this pull request Jun 29, 2026
…2094)

* Add substring expression function documentation

Add documentation for four new Data Prepper expression functions:
substringAfter, substringBefore, substringAfterLast, and
substringBeforeLast. These functions extract portions of a string
by delimiter and were added in opensearch-project/data-prepper#6621.

Update the functions index page to include the new functions.

Resolves: opensearch-project/data-prepper#6612
Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>

* Doc review

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Nikhil Bagmar <nikhilbagmar73@gmail.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Arya Soni <aryasoni98@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 3.5 Doc review PR: Doc review in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add substring expression functions (substringAfter, substringBefore, substringAfterLast, substringBeforeLast)

3 participants