Login
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Login
/services/auth/login
Provides user authentication
POST
Returns a session key to be used when making REST calls to splunkd
Form Arguments
username - The Splunk account username
password - The corresponding password
Response Status
200 - User successfully authenticated
400 - Username or password not provided
401 - Login credentials failed
Response Body
// sample response to /services/auth/login <response> <sessionKey>87ad615df536e3</sessionKey> </response>
This documentation applies to the following versions of Splunk: 3.2 , 3.2.1 , 3.2.2 , 3.2.3 , 3.2.4 , 3.2.5 , 3.2.6 View the Article History for its revisions.