SpringSource/spring-xd — pull request #85 by cppwfs (2013-06-27 14:19:20+00:00)
Title: Xd 318

This is a sink that will write its results to a splunk instance.
An example stream would be to take data from a twitter search and push it through to a splunk instance.
curl -X PUT -H 'Content-Type: text/plain' -d "twittersearch --consumerKey= --consumerSecret= --query='#LOTR' | splunk --tcp-port=9500" http://localhost:8080/streams/springone2gx

You will need to create a tcp data input on your splunk instance.
I used source type of manual : tcp-raw

The defaults for the plugin are:
* tcp-port 9500
Splunk-Server:
* host=locahost
* port=8089
* owner=admin
* password=password
* username=admin

These can be overwritten by using a -- for example: --port=8900