- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i want to move a file from a client into Deployment Server via Search Head. I was thinking of something like
| makeresults
| eval content="the content of text file that need to be sent over to DS."
| search
[ | rest splunk_server=ds /services/search/jobs search="| outputlookup test.csv" ]
but it seems that the rest command does not support anything except search (it does not work with pipes after search either), but it is not the same using rest from cli or rest queries from outside Splunk.
Since it would be a challenge to store credentials in an app protected, doing it using script or cli would be my last option. Doing it using the web interface would be better for further development.
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Hi @Bluekeeper ,
sorry but I don't understand your requirement: why do you want to do this?
About your question: REST is used only for searching.
About credentials, you could try to store them using the encryption from Splunk, but I don't understand what you want to do.
I can suppose that you whould modify some conf file in the deployment-apps folder of the Deployment Server, in this case the only solution is a script outside the Splunk web gui.
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Hi @Bluekeeper ,
sorry but I don't understand your requirement: why do you want to do this?
About your question: REST is used only for searching.
About credentials, you could try to store them using the encryption from Splunk, but I don't understand what you want to do.
I can suppose that you whould modify some conf file in the deployment-apps folder of the Deployment Server, in this case the only solution is a script outside the Splunk web gui.
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes i wanted to be able to upload a conf file from search head into the Deployment Server which would results it being pulled by UFs but as you said it's not possible through the rest api and the GUI. Can you provide any references on how to safely use credentials using splunk encryption so i don't leave credentials unprotected ?
