I have a requirement where in order for the remote machine to send data over the TCP connection to Splunk, it needs Splunk to send it a token.
Example:
Splunk makes connection over TCP to an IP:Port
Remote machine sends back a prompt -> Enter Token:
Splunk responds with a "token".
Is it possible to setup a data source with this type of configuration?
You can setup a scripted input, which essentially makes it possible to get data into Splunk in any way you want.
http://docs.splunk.com/Documentation/Splunk/5.0.2/AdvancedDev/ScriptedInputsIntro