<?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 Why REST API in SPLUNK return less data compare to data return directly from the URL in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-REST-API-in-SPLUNK-return-less-data-compare-to-data-return/m-p/377013#M68227</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I used following command to get the computer related detail:&lt;BR /&gt;
&lt;A href="https://myserver:port_num/api/sam/computer_systems?columns%5B%5D=computer_id&amp;amp;columns%5B%5D=host_name&amp;amp;columns%5B%5D=ip_address&amp;amp;columns%5B%5D=partition_cores&amp;amp;columns%5B%5D=hardware_serial_number&amp;amp;columns%5B%5D=server_cores&amp;amp;columns%5B%5D=processor_brand_string&amp;amp;columns%5B%5D=processor_vendor&amp;amp;columns%5B%5D=processor_brand&amp;amp;columns%5B%5D=processor_type&amp;amp;columns%5B%5D=processor_model&amp;amp;columns%5B%5D=server_processors&amp;amp;columns%5B%5D=server_cores&amp;amp;columns%5B%5D=pvu_per_core&amp;amp;token=9d23c5ccb3b5a5cb3284bbcda58e20ea9f15e9c5" target="_blank"&gt;https://myserver:port_num/api/sam/computer_systems?columns[]=computer_id&amp;amp;columns[]=host_name&amp;amp;columns[]=ip_address&amp;amp;columns[]=partition_cores&amp;amp;columns[]=hardware_serial_number&amp;amp;columns[]=server_cores&amp;amp;columns[]=processor_brand_string&amp;amp;columns[]=processor_vendor&amp;amp;columns[]=processor_brand&amp;amp;columns[]=processor_type&amp;amp;columns[]=processor_model&amp;amp;columns[]=server_processors&amp;amp;columns[]=server_cores&amp;amp;columns[]=pvu_per_core&amp;amp;token=9d23c5ccb3b5a5cb3284bbcda58e20ea9f15e9c5&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have configured the same command into REST API in SPLUNK as app_rest1 .  When I run it under Search source="rest://app_rest1", the result or the row is much more lesser.  Let say I have 500 computer related information return from the URL, I expect the same, however it only return about 30 computer in SPLUNK.&lt;/P&gt;

&lt;P&gt;Is there any other setting that I need to configure ?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:39:55 GMT</pubDate>
    <dc:creator>psneo</dc:creator>
    <dc:date>2020-09-29T20:39:55Z</dc:date>
    <item>
      <title>Why REST API in SPLUNK return less data compare to data return directly from the URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-REST-API-in-SPLUNK-return-less-data-compare-to-data-return/m-p/377013#M68227</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I used following command to get the computer related detail:&lt;BR /&gt;
&lt;A href="https://myserver:port_num/api/sam/computer_systems?columns%5B%5D=computer_id&amp;amp;columns%5B%5D=host_name&amp;amp;columns%5B%5D=ip_address&amp;amp;columns%5B%5D=partition_cores&amp;amp;columns%5B%5D=hardware_serial_number&amp;amp;columns%5B%5D=server_cores&amp;amp;columns%5B%5D=processor_brand_string&amp;amp;columns%5B%5D=processor_vendor&amp;amp;columns%5B%5D=processor_brand&amp;amp;columns%5B%5D=processor_type&amp;amp;columns%5B%5D=processor_model&amp;amp;columns%5B%5D=server_processors&amp;amp;columns%5B%5D=server_cores&amp;amp;columns%5B%5D=pvu_per_core&amp;amp;token=9d23c5ccb3b5a5cb3284bbcda58e20ea9f15e9c5" target="_blank"&gt;https://myserver:port_num/api/sam/computer_systems?columns[]=computer_id&amp;amp;columns[]=host_name&amp;amp;columns[]=ip_address&amp;amp;columns[]=partition_cores&amp;amp;columns[]=hardware_serial_number&amp;amp;columns[]=server_cores&amp;amp;columns[]=processor_brand_string&amp;amp;columns[]=processor_vendor&amp;amp;columns[]=processor_brand&amp;amp;columns[]=processor_type&amp;amp;columns[]=processor_model&amp;amp;columns[]=server_processors&amp;amp;columns[]=server_cores&amp;amp;columns[]=pvu_per_core&amp;amp;token=9d23c5ccb3b5a5cb3284bbcda58e20ea9f15e9c5&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have configured the same command into REST API in SPLUNK as app_rest1 .  When I run it under Search source="rest://app_rest1", the result or the row is much more lesser.  Let say I have 500 computer related information return from the URL, I expect the same, however it only return about 30 computer in SPLUNK.&lt;/P&gt;

&lt;P&gt;Is there any other setting that I need to configure ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:39:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-REST-API-in-SPLUNK-return-less-data-compare-to-data-return/m-p/377013#M68227</guid>
      <dc:creator>psneo</dc:creator>
      <dc:date>2020-09-29T20:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why REST API in SPLUNK return less data compare to data return directly from the URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-REST-API-in-SPLUNK-return-less-data-compare-to-data-return/m-p/377014#M68228</link>
      <description>&lt;P&gt;Try:&lt;BR /&gt;
|REST /servicesNS/-/-/....&lt;/P&gt;

&lt;P&gt;Or Splunk_server=local&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 19:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-REST-API-in-SPLUNK-return-less-data-compare-to-data-return/m-p/377014#M68228</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2018-12-21T19:29:01Z</dc:date>
    </item>
  </channel>
</rss>

