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

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...