Multiple config files merging rules #23447
-
Hi. Could you please help me. I found this brief information about using multiple configuration files, but I can't find any details about merging settings. How does it work? I am especially interested in the behavior of arrays. How are the "sink.inputs" arrays combined? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
https://vector.dev/highlights/2020-02-07-multi-config-files/ |
Beta Was this translation helpful? Give feedback.
-
Hi @RomanChernyshev, can you share an example of what config files you want to merge? I usually recommend a pre-processing tool outside of Vector to manage complex configurations that span multiple files and are not just blocks that are merged together. |
Beta Was this translation helpful? Give feedback.
I ran a quick example:
part1:
part2:
The resulting
inputs
should be the union of the two. We can see events from both sources in the following sample output: