Which of the following endpoints is used to authenticate with the Splunk REST API?
A.
/services/auth/login
B.
/services/session/login
C.
/services/auth/session/login
D.
/servicesNS/authentication/login
The Answer Is:
A
Want to know why?
Explanation:
The endpoint that is used to authenticate with the Splunk REST API is /services/auth/login. This endpoint returns a session key that can be used for subsequent requests to the Splunk REST API. The other endpoints are either invalid or used for different purposes. For more information, see Authenticate with the Splunk REST API.