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

Ignore the doesn't match any components error #19915

Open
wanjunlei opened this issue Feb 20, 2024 · 1 comment
Open

Ignore the doesn't match any components error #19915

wanjunlei opened this issue Feb 20, 2024 · 1 comment
Labels
domain: config Anything related to configuring Vector type: feature A value-adding code addition that introduce new functionality.

Comments

@wanjunlei
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Sometimes, I want to pre-create a sink that matches multiple inputs with wildcard expressions, and then dynamically create input as needed. For example, in a k8s cluster, pre-create an elasticsearch sink with input logs-*, then I will create a kubernetes_logs source to collect logs of pod with specific labels, so I can provide an API to create inputs dynamically.

Attempted Solutions

Provide a parameter to ignore the doesn't match any components error, such as --ignore-unmatched-component

Proposal

No response

References

No response

Version

No response

@wanjunlei wanjunlei added the type: feature A value-adding code addition that introduce new functionality. label Feb 20, 2024
@jszwedko jszwedko added the domain: config Anything related to configuring Vector label Feb 20, 2024
@jszwedko
Copy link
Member

Historically we've shied away from having invalid configs to avoid unexpected runtime behavior but I can see the use-case here with wildcards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: config Anything related to configuring Vector type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants