-
Notifications
You must be signed in to change notification settings - Fork 119
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
Pipeline test fails when target datasets in routing rules contain an expression #1388
Comments
Thanks for finding this issue! Two problems here:
|
@jsoriano, I'm more than happy to work on this (it's a dependency for rerouting k8s containers logs based on pod labels). Any advice about how to make this happen? I mean similar stuff, existing libraries in elastic-package — or anything that can help someone new to this codebase? 🙇 |
@zmoog thanks! Let me assign the issue to you.
Sadly we don't have documentation about the elastic-package codebase, but you could look to the PR that added this feature, here: #1372 |
elastic-package version:
0.85.0
Given the following
routing_rules.yml
file:and
test-common-config.yml
file:and
test-nginx.log
file:When I run
elastic-package test pipeline -v -g
command I get the following error:It seems elastic-package is interpreting the
target_dataset
values as literals and not expressions, so it's not evaluating the"{{kubernetes.labels.elastic_co/dataset}}"
expression in the into its actual valuekubernetes.container_logs.nginx
.The text was updated successfully, but these errors were encountered: