Getting Data In

How can I configure the universal forwarder in Docker?

sabche
New Member

Hi guys,

How can I configure the universal forwarder in Docker?

I create the image and container, but in the container, I cant find the .conf files that I need for configuring the universal forwarder. I have Splunk and the forwarder in a docker environment.

thanks

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

If you used the official Splunk Universal forwarder image here: https://hub.docker.com/r/splunk/universalforwarder/ then splunk will be installed to /opt/splunkforwarder and the .conf files will all be in the usual spots under etc. You can either the etcpath as a volume so you can edit it out of the container.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...