Module config Copy item path Source pub use format::Format ;
pub use format::FormatHint ;
pub use provider::ProviderConfig ;
pub use unit_test::build_unit_tests ;
pub use unit_test::build_unit_tests_main ;
pub use unit_test::UnitTestResult ;
api dot_graph format Support for loading configs from multiple formats. provider schema unit_test watcher AcknowledgementsConfig End-to-end acknowledgements configuration. ComponentConfig ComponentKey Component identifier. Config ConfigBuilder A complete Vector configuration. ConfigDiff DataType EnrichmentTableOuter Fully resolved enrichment table component. GlobalOptions Global configuration options. HealthcheckOptions Healthcheck options. Input Inputs A list of upstream source or transform IDs. LogSchema Log schema. Opts OutputId Component output identifier. ProxyConfig Proxy configuration. SinkContext SinkHealthcheckOptions Healthcheck configuration. SinkOuter Fully resolved sink component. SourceAcknowledgementsConfig Source-specific end-to-end acknowledgements configuration. SourceContext SourceOuter Fully resolved source component. SourceOutput TestDefinition A unit test definition. TestInput A unit test input. TestOutput A unit test output. TransformContext TransformOuter Fully resolved transform component. TransformOutput ComponentType ConfigPath LogNamespace Protocol Resource Unique thing, like port, of which only one owner can be. WildcardMatching Specifies the wildcard matching mode, relaxed allows configurations where wildcard doesn not match any existing inputs COLLECTOR CONFIG_PATHS ENVIRONMENT_VARIABLE_INTERPOLATION_REGEX EnrichmentTableConfig Generalized interface for describing and building enrichment table components. GenerateConfig A component that can generate a default configuration for itself. SecretBackend Generalized interface to a secret backend. SinkConfig Generalized interface for describing and building sink components. SourceConfig Generalized interface for describing and building source components. TransformConfig Generalized interface for describing and building transform components. cmd Function used by the vector config
subcommand for outputting a normalized configuration.
The purpose of this func is to combine user configuration after processing all paths,
Pipelines expansions, etc. The JSON result of this serialization can itself be used as a config,
which also makes it useful for version control or treating as a singular unit of configuration. get_transform_output_ids Often we want to call outputs just to retrieve the OutputId’s without needing
the schema definitions. init_log_schema Loads Log Schema from configurations and sets global schema. Once this is
done, configurations can be correctly loaded using configured log schema
defaults. init_telemetry Loads the telemetry options from configurations and sets the global options.
Once this is done, configurations can be correctly loaded using configured
log schema defaults. interpolate Result<interpolated config, errors> load load_builder_from_paths Uses ConfigBuilderLoader
to process ConfigPaths
, deserializing to a ConfigBuilder
. load_from_paths load_from_paths_with_provider_and_secrets Loads a configuration from paths. Handle secret replacement and if a provider is present
in the builder, the config is used as bootstrapping for a remote source. Otherwise,
provider instantiation is skipped. load_from_str load_source_from_paths Uses SourceLoader
to process ConfigPaths
, deserializing to a toml SourceMap
. log_schema Components should use global LogSchema
returned by this function. The
returned value can differ from LogSchema::default()
which is unchanging. merge_path_lists Merge the paths coming from different cli flags with different formats into
a unified list of paths with formats. process_paths Expand a list of paths (potentially containing glob patterns) into real
config paths, replacing it with the default paths when empty. telemetry Returns the telemetry configuration options. warnings BoxedSink BoxedSource BoxedTransform SinkDescription TransformDescription