Getting Data In

Connect to Splunk forwarder with java SDK

pduflot
Path Finder

Hello,

Can I use the Java SDK to connect to a Splunk Forwarder and send data through TCP input ?
Do I need an heavy forwarder or a an universal forwarder?
Will the forwarder buffer events in memory in case of network failure with the indexer? (I hope so)

Thanks!

Tags (3)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Yes. You can find out more details as well as other tools (Eclipse plug-ins, examples, etc) starting here:

http://dev.splunk.com/view/java-sdk/SP-CAAAECN

And more directly here:

http://dev.splunk.com/view/java-sdk/SP-CAAAEJ2

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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