vector/sinks/humio/mod.rs
1use vector_lib::lookup::lookup_v2::{OptionalTargetPath, OptionalValuePath};
2
3pub mod logs;
4pub mod metrics;
5
6pub fn config_host_key_target_path() -> OptionalTargetPath {
7 OptionalTargetPath {
8 path: crate::config::log_schema().host_key_target_path().cloned(),
9 }
10}
11
12pub fn config_host_key() -> OptionalValuePath {
13 OptionalValuePath {
14 path: crate::config::log_schema().host_key().cloned(),
15 }
16}