Burch, thank you for your response.
I tried just with scheme, host, and port as well,
but that gave different error
docker cmd: docker run --log-driver=splunk --log-opt splunk-token=abcd --log-opt splunk-url=https://mysplunkexample.com:8088 ... other options ... image:tag
gives following error
docker: Error response from daemon: Failed to initialize logging driver: x509: certificate is valid for SplunkServerDefaultCert, not vlmmk301
The splunk-token I used is correct and tested with curl to successfully send event message.
... View more