Splunk Cloud Platform

I have issues in setting up splunk with for docker

naveenhm
New Member

I have created my account on splunk(cloud) and I have created token. When I am trying to push logs to splunk  I am running into below error. Please help

 

PROMPT>

```
docker run --publish 80:80 --log-driver=splunk --log-opt splunk-token=<MyTokenHere> --log-opt splunk-url=https://prd-p-9140a.splunkcloud.com --log-opt splunk-insecureskipverify=true --log-opt splunk-sourcetype=docker-test --log-opt splunk-index=main nginx
```

----------| ERROR |----------

docker run --publish 80:80 --log-driver=splunk --log-opt splunk-token=75d04357-00c3-4f87-b3f7-4d1169b2b757 --log-opt splunk-url=https://prd-p-9140a.splunkcloud.com --log-opt splunk-insecureskipverify=true --log-opt splunk-sourcetype=docker-test --log-opt splunk-index=main nginx

docker: Error response from daemon: failed to initialize logging driver: splunk: failed to verify connection - 404 Not Found - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
This is a static HTML string template to render errors. To edit this
template, see appserver/mrsparkle/lib/error.py.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:splunk="http://www.splunk.com/xhtml-extensions/1.0" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="referrer" content="never" />
<meta name="referrer" content="no-referrer" />
<link rel="shortcut icon" href="/en-US/static/@7947EF3EB0C8EDFF887EFA69E21E6263479009821EE94F07A47FD3FB0E57B541/img/favicon.ico" />
<title>Page not found! - Splunk</title>
<style>
@font-face {
font-family: "Splunk Sans";
src: url('/static/fonts/proxima-regular-webfont.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Splunk Mono";
src.

 

Please help

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...