All Apps and Add-ons

Is it possible to consume WCF services from Splunk?

Path Finder

Would anyone please put some light on whether it’s possible to consume WCF services from Splunk or not. I know its possible to call REST services.
We have already a batch program in place which consumes a WCF service which in turns creates logs. Through Splunk this logs being monitored for analysis.
So I was checking whether it’s possible to consume WCF services similar way we consume REST services so maintaining an external batch can be ignored.

0 Karma

Ultra Champion

The REST API Modular Input doesn't care how the REST API is implemented (be it with WCF or any other langage or REST framework).

The RESTful service that your batch script is currently polling could probably very easily be replaced by using the REST API Modular Input to poll that REST service and index the REST responses in Splunk without having to go through the intermediate step of writing out a log file.

0 Karma

Ultra Champion

SOAP != REST

So you can't use the REST API Modular Input.

0 Karma

Path Finder

Sorry for not being clear earlier. The WCF service that I was refereing earlier is actually a SOAP WCF service.

0 Karma

Ultra Champion

I have no idea about your REST services. Your REST API documentation should tell you the URL to call and the appropriate HTTP method to use (GET or POST).

0 Karma

Path Finder

Damien thanks for the quick reply.
I got a WCF service of 5 opeartions and want to call a specific operation.
Consider this is the endpoint I have ***/2014/06/testIdAdministrationPortType.svc
Whenever I am trying to consume it through rest API modular all I am I getting is the HTML information for this page.

Also the operation need some inputs to kick off. Should I use POST as HTTP method. A little confused over here. 🙂

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!