Getting Data In

splunk add forward-server IP:PORT -auth user:pass - For UDP ???

grillotron
New Member

Hi,

Please i need to use de UDP protocol to add Forwarders (Universal in my case) buy supoust its de same command working with another options of "forwarders"..

splunk add forward-server IP:PORT -auth user:pass

¿what is de sintaxis?

thanks

Tags (1)
0 Karma

grillotron
New Member

Hi,

I don't need to use UDP ... it's only to keep the same way UDP/514. But really... i don't need it - i will create a recibe data port tcp/514.

thanks

0 Karma

Ayn
Legend

No, forwarding from a Splunk instance to another cannot use UDP. Why would you need UDP?

If you really can't do this via TCP, you'll have to resort to sending syslog over UDP from the forwarder to the indexer.

Ayn
Legend

Righty. By the way, the best thing would be to use Splunk's own protocol for forwarding events from one Splunk instance to another (splunktcp) rather than just sending the raw data (tcp).

0 Karma

grillotron
New Member

Hi,

I don't need to use UDP ... it's only to keep the same way UDP/514. But really... i don't need it - i will create a recibe data port tcp/514.

thanks

0 Karma

kristian_kolb
Ultra Champion

and that would not be a good idea, since you'd then be limited to standard syslog limits (<1k message size, single line). Try to fit a stacktrace, or eventlog message into that... 🙂

0 Karma
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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...