Docker Community Forums

Share and learn in the Docker community.

Splunk logging driver for docker

docker

(11193) #1

Hi i am trying to run docker with splunk logging driver . I am using splunk cloud managed service . I am receiving the below error any time did you face this error.

$sudo docker run --publish 80:80 --log-driver=splunk --log-opt splunk-token=xxxxxxxxxxx --log-opt splunk-url=https://http-inputs-ccccccc.splunkcloud.com/services/collector/event:8088 --log-opt splunk-insecureskipverify=true nginx

docker: Error response from daemon: Failed to initialize logging driver: splunk: expected format schema://dns_name_or_ip:port for splunk-url.


(Techagile) #2

did you happen to get a solution for this. I am having the same issue with this. Ref: https://docs.docker.com/config/containers/logging/splunk/