<?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: &amp;quot;Page not found&amp;quot; when trying to search through REST API in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561532#M195347</link>
    <description>&lt;P&gt;The examples in that document are for the command-line interface and won't work in a web browser.&amp;nbsp; When converting the examples for use in a browser, the part following "-d" goes in the body of a POST request.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 12:31:57 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-07-30T12:31:57Z</dc:date>
    <item>
      <title>"Page not found" when trying to search through REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561516#M195343</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I receive "Page not found" message when I try to search using REST API.&lt;/P&gt;&lt;P&gt;My URL: [splunkhost]/en-US/services/search/jobs%20-d%20search="search%20index=enwiki""&lt;/P&gt;&lt;P&gt;Even such very common search gives nothing, although there is &lt;STRONG&gt;index=enwiki &lt;/STRONG&gt;in system and I'm able to&amp;nbsp;&lt;/P&gt;&lt;P&gt;search in it through webui.&lt;/P&gt;&lt;P&gt;I was using&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;&lt;P&gt;as a reference.&lt;/P&gt;&lt;P&gt;What should I check?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="splunk-page-not-found.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15337iDC859C24CF5BA8B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="splunk-page-not-found.png" alt="splunk-page-not-found.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 10:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561516#M195343</guid>
      <dc:creator>dzkashlach</dc:creator>
      <dc:date>2021-07-30T10:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: "Page not found" when trying to search through REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561532#M195347</link>
      <description>&lt;P&gt;The examples in that document are for the command-line interface and won't work in a web browser.&amp;nbsp; When converting the examples for use in a browser, the part following "-d" goes in the body of a POST request.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 12:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561532#M195347</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-07-30T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: "Page not found" when trying to search through REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561831#M195415</link>
      <description>&lt;P&gt;Ok, thanks for tip.&lt;/P&gt;&lt;P&gt;One more moment:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;curl -v -k --cookie "session_id_8080=session-id-value" http://host:port/en-US/services/search/jobs -d search="search *"
&lt;/LI-CODE&gt;&lt;P&gt;this one also gives me &lt;STRONG&gt;Page not found,&amp;nbsp;&lt;/STRONG&gt;although I'm taking cookie from valid session.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess, I'm missing something in path ?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 11:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/quot-Page-not-found-quot-when-trying-to-search-through-REST-API/m-p/561831#M195415</guid>
      <dc:creator>dzkashlach</dc:creator>
      <dc:date>2021-08-03T11:14:02Z</dc:date>
    </item>
  </channel>
</rss>

