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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...