22 lines
484 B
TOML
22 lines
484 B
TOML
data_dir = "/tmp/vector"
|
|
|
|
[sources.docker_logs]
|
|
type = "docker_logs"
|
|
docker_host = "unix:///var/run/docker.sock"
|
|
include_containers = ["px360_"]
|
|
|
|
[sinks.openobserve]
|
|
type = "http"
|
|
inputs = ["docker_logs"]
|
|
uri = "http://openobserve:5080/api/default/px360/_json"
|
|
method = "post"
|
|
auth.strategy = "basic"
|
|
auth.user = "root@example.com"
|
|
auth.password = "Complexpass#123"
|
|
encoding.codec = "json"
|
|
batch.max_events = 10
|
|
batch.timeout_secs = 2
|
|
|
|
[sinks.openobserve.healthcheck]
|
|
enabled = false
|