Getting Data In

Is it possible for Splunk to make a REST call?

rmasuoka
Explorer

I would like to make a REST call from Splunk. I know there are Splunk REST APIs that we can make REST calls into Splunk, but not those ones. I would like to make a REST call into other systems as a part of Splunk search. Thanks!

Tags (1)
0 Karma

satishsdange
Builder

Search query depends upon the nature of data & what you would like to interpret from that.
Few customers are pulling ticketing information, few are pulling performance counters. Hence there is no definite answer to your question.
But search processing language remains the same e.g. stats, chart, eval, timechart etc.

0 Karma

musskopf
Builder

Have a look on this App: https://apps.splunk.com/app/1546

It's more to use external APIs as INPUT, but if you really need to call a REST API form the search, you might need to write a custom search command for that.

0 Karma

rmasuoka
Explorer

Thanks. I checked the document of the App and it seems what I need. However, I could not find any example search using this capability. Does anyone happen to know where I can find those example searches using REST API Modular Input?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...