Replies: 1 comment
-
I don't think this is doable out of the box. A custom solution is to introduce some kind of
Also, feel free to open a feature request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using Vector to process logs and send them to Graylog. I have multiple transform files written in YAML, and I want to write unit tests for each of them.
I initially added the tests directly inside each transform file, but since I have many files, I would prefer to move all tests into a separate folder (vector/tests/).
However, when I do this and run vector -C vector, I get the following error:
Here the structure of my
/etc/vector
:Is there a recommended way to keep tests in a separate folder without causing conflicts with the main configuration?
I can maybe add them in my transforms but I don't found the right syntax. Here an example of transforms file that I use (
/etc/vector/transforms/10_apache_combined.yaml
):Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions