Splunk Input from Docker Driver #8270
Unanswered
zentourist
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I was able to sniff the traffic and it looks like the Docker driver tries to write to
|
Beta Was this translation helpful? Give feedback.
0 replies
-
For Docker I woudl recommend using the Fluentd logging driver which would allow you to use the forward input plugin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to setup a test environment with a Docker container configured with the Splunk driver that outputs to a Fluent-bit configured Splunk input and it does not seem to work. I was wondering if anyone had any advice.
Here is the input configuration:
Here is how I'm running the container:
If I have a Splunk token set, I always get a 401 with the following logged to stdout:
[input:splunk:splunk.3] missing credentials in request headers
I've tested auth with a
curl
and it works fine.If I remove the token requirement from the INPUT and if the
splunk-verify-connection
is set, I get the following error:failed to initialize logging driver: splunk: failed to verify connection - 400 Forbidden - error: invalid HTTP method.
If I remove the
splunk-verify-connect
, I get no errors, but also no logs.Any insight would be greatly appreciated. I want to use this same pattern to get AWS Batch logs into Fluent-bit.
🖖 Thx!
Beta Was this translation helpful? Give feedback.
All reactions