<?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 is Splunk rest api result not returning aggregated field? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/506885#M86268</link>
    <description>&lt;LI-CODE lang="markup"&gt;search index=abc dp_"response"| stats perc95(api_time_taken) as abc by api&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is the search query I am using while invoking through splunk rest API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the result, I am not getting the abc field, only the API values are listed . Is there anything specific I need to do to include perc95,avg or max values in the result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From UI, it works completely fine where it shows the abc column with the 95 percentile value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If someone can guide me, it would be really helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 15:16:03 GMT</pubDate>
    <dc:creator>santoshbwn</dc:creator>
    <dc:date>2022-06-01T15:16:03Z</dc:date>
    <item>
      <title>Why is Splunk rest api result not returning aggregated field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/506885#M86268</link>
      <description>&lt;LI-CODE lang="markup"&gt;search index=abc dp_"response"| stats perc95(api_time_taken) as abc by api&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is the search query I am using while invoking through splunk rest API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the result, I am not getting the abc field, only the API values are listed . Is there anything specific I need to do to include perc95,avg or max values in the result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From UI, it works completely fine where it shows the abc column with the 95 percentile value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If someone can guide me, it would be really helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 15:16:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/506885#M86268</guid>
      <dc:creator>santoshbwn</dc:creator>
      <dc:date>2022-06-01T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rest api result not returning aggregated field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/599947#M104610</link>
      <description>&lt;P&gt;Hi, any update on your issue, Im facing similar problem when reading from SPLUNK Rest APi via ADF using&amp;nbsp;&lt;/P&gt;&lt;P&gt;| eval compliant=if(Days&amp;lt;60, "Yes", "No")]&lt;BR /&gt;| chart count(host) by system compliant | addtotals | eval No=round((100*No/Total),2) | eval Yes=round((100*Yes/Total),2) | fields – Total Yes No&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the correct result via UI but only the summary in the ADF result&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 16:24:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/599947#M104610</guid>
      <dc:creator>kilimche</dc:creator>
      <dc:date>2022-05-31T16:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk rest api result not returning aggregated field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/600014#M104622</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/68323"&gt;@santoshbwn&lt;/a&gt;&amp;nbsp;any update on your issue?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 06:52:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-rest-api-result-not-returning-aggregated-field/m-p/600014#M104622</guid>
      <dc:creator>kilimche</dc:creator>
      <dc:date>2022-06-01T06:52:15Z</dc:date>
    </item>
  </channel>
</rss>

