title: How do I know Splunk REST API Base URL?
body: <p>We have Splunk deployed in <a href="https://splunkit.corp.company.com" rel="nofollow noreferrer">https://splunkit.corp.company.com</a> (url modified).</p>
  <p>and able to access Splunk Web home page on <a href="https://splunkit.corp.company.com/en-US/app/launcher/home" rel="nofollow noreferrer">https://splunkit.corp.company.com/en-US/app/launcher/home</a> (url modified).</p>
  <p>I am building a dashboard application which uses the JSON data provided by Splunk REST services.</p>
  <p>I have gone through the <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing" rel="nofollow noreferrer">link</a> and rest end points as <a href="http://docs.splunk.com/Documentation/Splunk/6.6.3/RESTTUT/RESTsearches" rel="nofollow noreferrer">here</a>.</p>
  <p>From above links I got know</p>
  <blockquote>
  <p>I need to make post request to services/auth/login with username and password. This returns session key which will be used in further API calls.</p>
  <p>Have to make post request to services/search/jobs to create a search. This returns search id.</p>
  <p>I need to check services/search/jobs/ for search complete.</p>
  <p>If search complete Then I can retrieve results using services/search/jobs//results.</p>
  </blockquote>
  <p>The problem here I facing is I don't know whats the base URL. I tried constructing <a href="https://splunkit.corp.company.com/en-US/services/auth/login" rel="nofollow noreferrer">https://splunkit.corp.company.com/en-US/services/auth/login</a> and etc but not working.</p>
  <p>Any help appreciated. Thanks</p>