# # In this example, we are collecting all kubernetes logs # from ICE OS VM 192.168.0.198 # # "sources.K8S_CLUSTER" : User-friendly name of ICE Server # # "sinks.DATA_SOURCE_NAME" : User-friendly name of data source output # "inputs" : It should point to "sources.K8S_CLUSTER" # "path" : Location of sink's output file [sources.ice_192_168_0_198_vector] type = "vector" address = "0.0.0.0:9000" [sinks.ice_192_168_0_198_vector_out] type = "file" inputs = ["ice_192_168_0_198_vector"] path = "/var/log/vector/k8s/ice_192_168_0_198.log" encoding.codec = "raw_message" |
tls.enabled = true tls.ca_file = "/etc/vector/tls/tls.vector.ca_file" tls.crt_file = "/etc/vector/tls/tls.vector.crt_file" tls.key_file = "/etc/vector/tls/tls.vector.key_file" |
sudo systemctl restart vector |