Getting Data In

Minimal capabilities required for adding events via Splunk REST API

yitzarad
Path Finder

Hi,

I'm trying to add events into an existing index, via the REST API (specifically, using javascript-sdk).

Everything works fine when using a powerful user/role.

Now, I'm trying to limit the capabilities of that user, but cannot find any relevant capability for adding data into index, via the REST API.

What are the "least privileges" in this case?

Tags (3)
0 Karma
1 Solution

LukeMurphey
Champion

You'll need "edit_tcp" to be able create events via the "/services/receivers/simple" API.

View solution in original post

LukeMurphey
Champion

You'll need "edit_tcp" to be able create events via the "/services/receivers/simple" API.

LukeMurphey
Champion

Yeah, no doubt! I only found out what the necessary permission was after spending way to much on it.

0 Karma

yitzarad
Path Finder

It's working, thank you!
BTW, "edit_tcp" is not so indicative description... 😕

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...