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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...