<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: We are getting an error when trying to create a search job using the REST API ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240207#M46671</link>
    <description>&lt;P&gt;Hi @Hemnaath,&lt;/P&gt;

&lt;P&gt;If you are just getting started with the REST API, you might want to check out this user guide:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTUM/RESTusing"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTUM/RESTusing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps you start troubleshooting. You might also want to post an example cURL request and response here to provide more detail on what you're seeing and what you're trying to do.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 18:16:49 GMT</pubDate>
    <dc:creator>frobinson_splun</dc:creator>
    <dc:date>2017-01-17T18:16:49Z</dc:date>
    <item>
      <title>We are getting an error when trying to create a search job using the REST API ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240204#M46668</link>
      <description>&lt;P&gt;Hi All, Could you please guide us in getting this issue resolved, currently one of the developer is trying to create a search job using the REST API, as per the splunk document he had followed the same steps &lt;STRONG&gt;("splunk.xxxxx.com/services/search/jobs")&lt;/STRONG&gt; but he is getting this message &lt;STRONG&gt;The path '/en-US/services/search/jobs' was not found&lt;/STRONG&gt; , even with admin user id we are getting the same message as soon as we clicks the link, not sure how to fix this issue as have do not have much idea on  REST API concept. &lt;BR /&gt;
So kindly guide us what we need to do to get this fixed for the user. &lt;/P&gt;

&lt;P&gt;Splunk version 6.2.1 &lt;BR /&gt;
Linux OS &lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240204#M46668</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-01-17T16:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting an error when trying to create a search job using the REST API ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240205#M46669</link>
      <description>&lt;P&gt;This documentation might help: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTREF/RESTsearch" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTREF/RESTsearch&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunk.server.com:8089/services/search/jobs" target="_blank"&gt;https://splunk.server.com:8089/services/search/jobs&lt;/A&gt;&lt;BR /&gt;
We also have an 8 hour SDK course covering REST API, etc ...&lt;BR /&gt;
&lt;A href="http://www.splunk.com/view/SP-CAAAHSH" target="_blank"&gt;http://www.splunk.com/view/SP-CAAAHSH&lt;/A&gt;&lt;BR /&gt;
Here's an example from the docs dispatching a search request:  curl -k -u admin:pass &lt;A href="https://localhost:8089/servicesNS/admin/search/search/jobs" target="_blank"&gt;https://localhost:8089/servicesNS/admin/search/search/jobs&lt;/A&gt; --data-urlencode search="search index=_internal source=*/metrics.log" -d id=mysearch_02151949 -d max_count=50000 -d status_buckets=300&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240205#M46669</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2020-09-29T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting an error when trying to create a search job using the REST API ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240206#M46670</link>
      <description>&lt;P&gt;hi rroberts,  thanks for sharing some document, as I had told we do not have much idea on REST API, so kindly guide me what I need to look in the document which you had shared as it got lots of information and the same time if you can share me the steps to trouble shoot this issues instead of sharing the documents. &lt;/P&gt;

&lt;P&gt;unable to understand the example which you had shared in your comments, so kindly guide us what exactly we need to follow to fix this issue.&lt;/P&gt;

&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 17:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240206#M46670</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2017-01-17T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: We are getting an error when trying to create a search job using the REST API ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240207#M46671</link>
      <description>&lt;P&gt;Hi @Hemnaath,&lt;/P&gt;

&lt;P&gt;If you are just getting started with the REST API, you might want to check out this user guide:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTUM/RESTusing"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTUM/RESTusing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps you start troubleshooting. You might also want to post an example cURL request and response here to provide more detail on what you're seeing and what you're trying to do.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/We-are-getting-an-error-when-trying-to-create-a-search-job-using/m-p/240207#M46671</guid>
      <dc:creator>frobinson_splun</dc:creator>
      <dc:date>2017-01-17T18:16:49Z</dc:date>
    </item>
  </channel>
</rss>

