All Apps and Add-ons

Is it possible to consume WCF services from Splunk?

jitsinha
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

Damien_Dallimor
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

Damien_Dallimor
Ultra Champion

SOAP != REST

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

0 Karma

jitsinha
Path Finder

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

0 Karma

Damien_Dallimor
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

jitsinha
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
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...