All Apps and Add-ons

How to use Splunk calling a web service (SOAP) and index the response directly?

Tarek1977
Path Finder

Hello there,

I'm trying to put a web service call response (SOAP) into Splunk. It is possible to directly get the data stream into Splunk (without writing the response to a file and put it into a index directory)?

For example, I call the web service via a java program on the Splunk server (or from a remote server). I've got the response, so I have the option to write down the response to a file and forward it to Splunk or put the stream directly to (some) kind of service running on the Splunk server? Is that possible? Thank you in advance for your answers!

Tags (3)

aweitzman
Motivator

You might want to look into Splunk's REST API:

http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTinput#receivers.2Fsimple
http://docs.splunk.com/Documentation/Splunk/6.1.1/RESTAPI/RESTinput#receivers.2Fstream

Alternatively, you can open up a TCP or UDP port on the Splunk server for listening, and then send the data there directly.

0 Karma

ekcsoc
Path Finder

I downvoted this post because provided suggestion is not for soap request

0 Karma

Tarek1977
Path Finder

Hi aweitzman,

thank you for your answer. I'll check the REST API, if I can use it. I've read the TCP doc before, but I'm not sure, if this will solve my "issue".

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...