Getting Data In

Filtering Windows logs at Source with Universal Forwarder

nitinthakur
New Member

Hi Splunk Gurus

We have problem with Splunk on Windows. Windows sends way to many events and logs to splunk indexer, which makes us hit our daily quota of license. What we want to do is to send only certain events/logs from Windows server to indexer. This we achieved by using Windows heavy Forwarder, but Security team objects to open Web on the server. The question is: -

1) What are the drawbacks of running web server (web splunk GUI) on all the servers)?

2) Can I disable splunk Web GUI and can still achieve filtering?

3) How much extra load will Web interface puts on the Server?

Thanks

0 Karma

kristian_kolb
Ultra Champion

1) There is a slightly larger overhead, of course, and the fact that there is a server listening on incoming http-requests. There have been a few vulnerabilities in previous versions of SplunkWeb.

2) Yes

3) Not too much, unless you actually use the heavy forwarder as a SearchHead towards the indexer(s). Then it will consume large amounts of memory an CPU. This can also happen if the forwarder is monitoring a very large amount of files (hundreds or thousands), regardless of whether the web interface is enabled or not.

Suggestion, disable the web GUI and use Deployment Server for all configuration.

hope this helps,

Kristian

0 Karma

Ayn
Legend

1) The obvious drawback is that an additional network port is exposed on the server running the heavy forwarder. While no known public exploits are available for unauthenticated connections to splunkweb, you never know when/if that could change.

2) Yes. "$SPLUNK_HOME/bin/splunk disable webserver" should do the trick.

3) I don't have numbers for this, but I can't imagine it uses any resources to talk about when in idle mode. It just sits there and waits.

treinke
Builder

1) the draw backs (from the security side) are that you have a web server on the machine. The other draw back is it could conflict with other applications. While Splunk does do an open port check when it loads, it still could cause a problem. I think for most security people it is the fear of the web server being compromised or unmanaged.

2) Both the light forwarder and the universal forwarder do not do any parsing of the data. They leave that up to the indexer. But with that said, in your Manager, go to Forwarding and receiving, and then configure your forwarder, and then go to Enable light forwarding. After you enable the forwarding, you will have to restart Splunk from the command line. For Windows: "c:\program files\splunk\bin\splunk.exe" restart For Linux: /opt/splunk/bin/splunk restart

3) That will depend on how much data the server will be parsing.

There are no answer without questions
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...