Documentation: 3.2.3
Print Version Contents
This page last updated: 02/27/08 06:02pm

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>
Previous: Output formats via XML    |    Next: Legacy methods

Comments

No comments have been submitted.

Log in to comment.