Getting Data In

Splunk REST API

kpavan
Path Finder

Hi All,

Need help regarding Splunk REST API.

Requirement:
Currently we are getting logs from application where it has info about user login details. Now application team wants to integrate Splunk logs to salesforce using via REST API. Like if app team wants to check user login details from Salesforce console using user ID then salesforce need to query Splunk to get the latest 5 user login events.

I am able to query splunk via cURL and getting the info, but since have very less experience in programming and want to know if anyone has already similar setup and if you could share the details how to setup Splunk REST API with step by step that would be helpful for me.

Thanks!

0 Karma

paramagurukarth
Builder

You can use splunk SDK corresponding to the programming language you are using in your project...
Establishing connection.. Executing searches and accessing other object can be done.. Also it will reduce your coding efforts..

0 Karma

niketn
Legend

Refer to Splunk How To Video on Using the Splunk REST API for quick understanding.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...