Add missing VRL functions to Custom Processor doc [WEB-7892]#37611
Merged
Jackie-Robson merged 4 commits intoJun 24, 2026
Conversation
Adds four VRL functions that exist in Vector but were missing from the OP Custom Processor reference: pop (Array), encrypt_ip (IP), decrypt_ip (IP), and haversine (new Map category).
Contributor
Preview links (active after the
|
Contributor
StefonSimmons
approved these changes
Jun 22, 2026
rtrieu
requested changes
Jun 22, 2026
rtrieu
left a comment
Contributor
There was a problem hiding this comment.
just a few small suggestions but otherwise this looks great. thanks so much!
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds four VRL functions that exist in the Vector docs but were missing from the Observability Pipelines Custom Processor function reference.
Functions added:
pop(Array) — removes the last item from an arrayencrypt_ip(IP) — encrypts an IP address using AES-128 or prefix-preserving modedecrypt_ip(IP) — decrypts an IP address previously encrypted withencrypt_iphaversine(Map, new category) — calculates great-circle distance and bearing between two geographic coordinatesMotivation
Reported in WEB-7892: these functions were visible in Vector VRL docs but missing from the OP Custom Processor page.
Additional notes
haversineintroduces a new Map category (sourced fromCategory::Mapin the VRL stdlib). The category nav incustom_processor.mdhas been updated accordingly.encrypt_ip/decrypt_ipare fallible (require!suffix).popandhaversineare infallible.Review checklist