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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...