Getting Data In

Trying to install Splunk Logging Driver fails

arafatmohammed
New Member

Hi,

I am following the document [https://www.splunk.com/blog/2015/12/16/splunk-logging-driver-for-docker.html] to install Splunk logging driver but it fails.

$ docker --version
Docker version 17.06.2-ee-6, build e75fdb8

Trying to configure logging driver for the whole DOcker daemon as mentioned in the document. Running the following command :

# docker run --publish 80:80 --log-driver=splunk --log-opt splunk-token=5E0BDA60-ABCD-WXYZ-BE73-30ABB1197E6E --log-opt splunk-url=https://prd-p-jptcv56bhqnb.cloud.splunk.com --log-opt splunk-insecureskipverify=true nginx

docker: Error response from daemon: driver failed programming external connectivity on endpoint angry_benz (01dacbcdaf89fbf4dce11049cb0594f1c99311390ac5735ff08e8b45d021dea5): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.
ERRO[0000] error waiting for container: context canceled

PS: splunk-url I have used is my Splunk Cloud URL. Please let me know how I can fix this.

Thanks!

Tags (2)
0 Karma

Azeemering
Builder

In the url you provided it says:
Note: In Splunk Cloud you need to work with support to enable HTTP Event Collector. Open Splunk’s Web UI, go to the Settings → Data Inputs. Choose HTTP Event Collector. Enable it with Global Settings and add one New Token. After the token is created, you will find the Token Value which is a guid. Write it down, as you will need it later for configuring the Splunk Logging Driver.
Did you contact splunk support for this as they need to perform some extra config for it to work on splunk cloud.

0 Karma

arafatmohammed
New Member

Thanks Azeemering, I am going to try this out today. And no, I was not aware the Splunk Support will need to perform extra configuration for it to work. I will check with them. Thanks a lot!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...