Deployment Architecture

How to use Universal Forwarder to send logs to SIEM using UDP?

rjk123
Explorer

I have a UF set to send logs to both Splunk IDX and SIEM, using the TCPOUT settings in outputs.conf, but this is sending via TCP and we want it to use UDP (due to high log rate). Can it be done?

There is no option for the tpcout stanza to set a protocol. So it is TCP only.

I found there is a syslog-out stanza for the outputs.conf file, which can use UDP or TCP, but that one also says it can't be used on UFs.

Am I stuck with TCP, or is there another way?

Thanks for any responses, Rod.

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @rjk123,

for my knowledge it isn't possible to use UDP protocol instead TCP to send logs using a Forwarder, the forwardring mechanism is fulli managed by Splunk and only uses the TCP protocol.

But if the problem is the rate for network bandwidth, on the Forwarder, you can define the max throughput (default 256 kb/s) setting the maxKBps.

But beware because in this way you could have some queues if the data grow.

for more infos see at https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/limitsconf

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @rjk123,

for my knowledge it isn't possible to use UDP protocol instead TCP to send logs using a Forwarder, the forwardring mechanism is fulli managed by Splunk and only uses the TCP protocol.

But if the problem is the rate for network bandwidth, on the Forwarder, you can define the max throughput (default 256 kb/s) setting the maxKBps.

But beware because in this way you could have some queues if the data grow.

for more infos see at https://docs.splunk.com/Documentation/Splunk/9.0.3/Admin/limitsconf

Ciao.

Giuseppe

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...