diff --git a/docker/images/vector/vector.toml b/docker/images/vector/vector.toml index df7327f0b..a60121164 100644 --- a/docker/images/vector/vector.toml +++ b/docker/images/vector/vector.toml @@ -130,36 +130,6 @@ encoding.codec = "json" encoding.timestamp_format = "rfc3339" healthcheck.enabled = false -[sources.mongo] -type = "docker_logs" -include_labels = ["vector.mongo=true"] - -[transforms.mongo_format] -type = "remap" -inputs = ["mongo"] -source = ''' -.=parse_json!(string!(.message)) -.host="$OO_HOST" -del(.t) -del(.id) -del(.timestamp) -del(._timestamp) -''' - -# send to openobserve -[sinks.openobserve_mongo] -type = "http" -inputs = ["mongo_format"] -uri = "https://api.openobserve.ai/api/$OO_ORG/${NODE_ENV}_provider_mongo/_json" -method = "post" -auth.strategy = "basic" -auth.user = "$OO_USERNAME" -auth.password = "$OO_PASSWORD" -compression = "gzip" -encoding.codec = "json" -encoding.timestamp_format = "rfc3339" -healthcheck.enabled = false - [sources.watchtower] type = "docker_logs" include_labels = ["vector.watchtower=true"]