Error response from daemon: configured logging driver does not support reading

Hi All,

I am trying to configure the Splunk logging driver to send container logs to Splunk. I have tried to

docker run --publish 8081:8081 --log-driver=splunk --log-opt splunk-token=TOKEN --log-opt splunk-url= URL --log-opt splunk-insecureskipverify=true nginx

However, I keep getting

configured logging driver does not support reading

I tried to add it to daemon.json file as well and I ended up with the same error

I don’t believe it has anything to do with URL and token because I have curled it and it was successful

Can someone help me please?