Security

Splunkd access capability

pkeller
Contributor

Is there a capability that can be removed from a role that will remove the ability to run a remote search via the Splunkd port and force the user to use the UI?

Tags (2)
0 Karma

pkeller
Contributor

Ultimately I determined that 2 factor authentication will, by nature, prevent this. So, we have that nailed. And, if we need to bypass that for strong use cases, we can set up local users.

0 Karma

somesoni2
Revered Legend

Have not tested but this looks promising. You may have to define custom capability to assign to search REST endpoint.
https://answers.splunk.com/answers/423859/how-do-you-disable-the-rest-api-endpoint-servicess.html

Check the $Splunk_home/etc/system/default/restmap.conf for full list of available endpoints.

0 Karma

pkeller
Contributor

Thank you very much.

0 Karma

teunlaan
Contributor

Splunk itself is also getting information by REST call to other machines, so please be carful trying disableing stuff

0 Karma

pradeepkumarg
Influencer

You mean restricting rest API calls is it? Unfortunately there is not one. We correlate the splunk web access logs and the audit logs to identify if there are searches without user logs on web access and alert on it to identify rest users. May be there is a better way.

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!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...