Getting Data In

What is the default REST API URL to post data to the default index?

birarich
Explorer

What is the default REST API url to post data at default index?
I have rest api APP configured as input in splunk.

0 Karma

jacobwilkins
Communicator

Inputing data into splunk via a RESTful post does not fall within the realm of "normal" activity.

Supported, for sure, but not normal.

See this for more info: http://answers.splunk.com/answers/241698/how-do-i-configure-splunk-for-rest-api-input.html

The receivers/simple & receivers/stream rest endpoints probably require authentication. Keep that in mind.

0 Karma

Yasaswy
Contributor
0 Karma

birarich
Explorer

When I use above URL in postman or any tool to post data, I am unable to do so, but when I use below URL I am able to post JSON data.
https://ursplunkserver:8089/services/receivers/simple

Do you see any reason why I am unable to post by your URL?

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...