Getting Data In

How Can I Get My Splunk Container to Monitor its Host?

VCorralPlex21
Loves-to-Learn

Hello all!

   I am unable to ingest log data from the host on which my docker container resides.  Since it is a container I do not have access to the host logs.  I also tried installing a universal forwarder on the host, but since the ports 8089 and 9997 are already bound to the container that does not work.  I would appreciate any suggestions.

 

Regards,

Virgil

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Since a container has no awareness of its host, you'll need a UF on the host itself.  The UF does not use port 9997 so that's not an issue.  You can reassign port 8089 to another port in web.conf or disable it entirely in server.conf.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...