-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to enable receiving? #32
Comments
Hi Loren,
Make the modification and then start the scenario by doing
Once configuration completes, you can check the port mapping using docker ps. Look and see what port was mapped to 9997 and then use that when configuring forwarders outside of the deployment. This play will also automatically configure receiving on the so1 container. If you are configuring the uf to forward to a splunk instance outside of the deployment, file an issue. It should be straightforward, but it looks like we don't automatically set that up right now. Let me know if you have additional questions. |
I see. I was assuming that receiving wasn't enabled because the receiving port listing wasn't where I thought it was. I see 9997 enabled now under "Settings"->"Forwarding and receiving"->"Configure receiving". However, now I'm running into another issue. When I stop my docker container for the splunk forwarder, and bring it up again (i.e. simple 'docker-compose down' then a 'docker-compose up'), The forwarder container always fails when setting up forwarding. The error is:
After this, the container shuts down. Should I expect to have to rebuild the forwarding container every time, or is this just a bug in the ansible script and it should fail silently if the forwarding is already configured? |
@LorenKeagle this looks like an idempotency issue in the local ansible plays. Thanks for pointing this out, I'll get this addressed! |
Closing due to PR made above; this fix should be included in the next image push we make |
How do I start a new container with receiving enabled on port 9997?
This seems like a very common use case, yet I don't see any options to automate this. I'm simply trying to set up a demo environment with both splunk and splunk-uf containers.
For that matter, how can I set up a forwarder container to automatically forward to a standalone container?
The text was updated successfully, but these errors were encountered: