<?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: Blank Content While Using REST API Python in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684219#M233568</link>
    <description>&lt;P&gt;Because when I try in a python program still got same error&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 09:09:27 GMT</pubDate>
    <dc:creator>NatanS</dc:creator>
    <dc:date>2024-04-15T09:09:27Z</dc:date>
    <item>
      <title>Blank Content While Using REST API Python</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684213#M233565</link>
      <description>&lt;P&gt;Why I get empty results while I using REST API (results) Search on python?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NatanS_0-1713168464024.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30398iC5B6A142D93EB30D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NatanS_0-1713168464024.png" alt="NatanS_0-1713168464024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And when I using REST API (events) in Python to got like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NatanS_1-1713168563323.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30399iD2A004D9A7EB8048/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NatanS_1-1713168563323.png" alt="NatanS_1-1713168563323.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For your information the SID is already successfully retreived using the python program and when I try to use curl command to search the SID jobs (curl -k -u admin:pass &lt;A href="https://localhost:8089/services/search/v2/jobs/mysearch_02151949/results" target="_blank" rel="noopener"&gt;https://localhost:8089/services/search/v2/jobs/mysearch_02151949/results&lt;/A&gt;) the results is show on the screen without any error.&lt;BR /&gt;&lt;BR /&gt;Can you help me about this case ? Thank you&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 08:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684213#M233565</guid>
      <dc:creator>NatanS</dc:creator>
      <dc:date>2024-04-15T08:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Content While Using REST API Python</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684214#M233566</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;preview=true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's must be like that&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:pass https://localhost:8089/services/search/v2/jobs/mysearch_02151949/results preview=true&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 15 Apr 2024 08:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684214#M233566</guid>
      <dc:creator>batabay</dc:creator>
      <dc:date>2024-04-15T08:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Content While Using REST API Python</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684218#M233567</link>
      <description>&lt;P&gt;What's that function for ?&lt;BR /&gt;&lt;BR /&gt;And how to add that on the python program ?&lt;BR /&gt;&lt;BR /&gt;Is it like this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NatanS_0-1713172056125.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30400i8C580384AD340403/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NatanS_0-1713172056125.png" alt="NatanS_0-1713172056125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 09:08:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684218#M233567</guid>
      <dc:creator>NatanS</dc:creator>
      <dc:date>2024-04-15T09:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Content While Using REST API Python</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684219#M233568</link>
      <description>&lt;P&gt;Because when I try in a python program still got same error&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 09:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Blank-Content-While-Using-REST-API-Python/m-p/684219#M233568</guid>
      <dc:creator>NatanS</dc:creator>
      <dc:date>2024-04-15T09:09:27Z</dc:date>
    </item>
  </channel>
</rss>

