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

Get Updates on the Splunk Community!

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 ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...