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!

Splunk Enterprise Security: An Automated Phishing Response Workflow

Originally posted on Splunk.com.   Key takeaways  The volume of phishing emails can overwhelm even the most ...

Sharper ES Detections, Agentic AI Integrations, Smarter Workload Management, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Data Outage Monitoring and Reporting

We’ve all been there, right? Living our best life, working on our Splunk environment, when out of nowhere a ...