All Apps and Add-ons

Question about the ports used for both Splunk and Forwarder

ansred
Explorer

Greetings,

I have Synology as host for Docker containers environment.

I have Splunk installed and running fine. (Host Network)

I have installed the Splunk forwarder App and docker container. (Bridge Network)

    Local port TCP <<<<<>>>>> Container Port TCP
    1088  <<<<<>>>>> 8088
    1089 <<<<<>>>>> 8089
     1997 <<<<<>>>>> 9997

The question, about the ports being using for both Splunk and Forwarder

It says per the wiki that I need to open port 9997 on both containers, which is you can since they are going to be conflicted

Links:
https://splunk.github.io/docker-splunk/SETUP.html#install

I got already the Pi-hole log file ready and good to go

/volume1/docker/Pi-hole/var/log/pihole.log

And I got the forwarder input conf file ready as well
/volume1/docker/Splunk/Splunk-FWD/opt/splunkforwarder/etc/system/local/inputs.conf

And here is its content:

[splunktcp://9997]
disabled = 0

[monitor:/volume1/docker/Pi-hole/var/log/pihole.log]
whitelist = pihole\.lo.+
disabled = false
sourcetype = pihole:log

Her as you see the port for Splunk is listening

root@Synology:~# netstat -plnt | grep ':9997'
tcp        0      0 0.0.0.0:9997            0.0.0.0:*               LISTEN      29533/splunkd       

Any idea how to get it working or what if I missing something?

Thanks
Anas

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...