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

Allow ruby expressions in plugin fields #115

Open
AndresPineros opened this issue Aug 3, 2022 · 0 comments
Open

Allow ruby expressions in plugin fields #115

AndresPineros opened this issue Aug 3, 2022 · 0 comments

Comments

@AndresPineros
Copy link

Problem

Allow adding the equivalent of "enable_ruby: true" for the concat plugin fields.

I want to create a dynamic multiline pipeline that lets people decide which pattern they want to use based on pod annotations.
This means I need to do something like:

...
multiline_start_regexp: ${record["kubernetes"]["annotations"]["logging_pattern"]}
...

This would allow having self-service applications that can "subscribe" to different logging pipelines and pass configurations to it using the annotations. This means I don't need to create an almost identical pipeline for every application that realizes that it has multi-line exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant