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

Support getting the length of a string in expressions #2639

Closed
dlvenable opened this issue May 4, 2023 · 2 comments
Closed

Support getting the length of a string in expressions #2639

dlvenable opened this issue May 4, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dlvenable
Copy link
Member

dlvenable commented May 4, 2023

Is your feature request related to a problem? Please describe.

I'd like to create conditionals based on the length of a string.

Describe the solution you'd like

Provide a function to get the length of a string from a key.

length("/log_level") > 10

Describe alternatives you've considered (Optional)

We could have a length processor. But, this approach would be more compact.

Additional context

Base this on #2626

@dlvenable
Copy link
Member Author

Completed by #2644.

@kkondaka
Copy link
Collaborator

kkondaka commented Jun 5, 2023

Completed by #2726

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants