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
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...