All Apps and Add-ons

Is custom endpoint in restmap.conf of an App allowed to overwrite Splunk rest endpoint?

xxie_splunk
Splunk Employee
Splunk Employee

restmap.conf of an App
[script:test]
match=/authentication/users
handler=nba_rest_api.APIAccountStatus
output_modes=json

Now when we get: http://localhost:8089/services/authentication/users, it shows its my_endpoint.

Is this expected?
If so, if an app overwrites this endpoint, other apps in the same Splunk deployment will access it instead of Splunk designed one. That could be a problem.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...