<?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: Mismatch in Stats UI &amp;amp; Splunk API in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Mismatch-in-Stats-UI-amp-Splunk-API/m-p/534358#M150996</link>
    <description>&lt;P&gt;You say you don't get the "consolidate output", but what do you get?&amp;nbsp; Why are you trying to remove numerical data from the URL?&amp;nbsp; Are you authenticating in your request? Are you encoding the URL before sending it?&lt;/P&gt;&lt;P&gt;Please share the full API request.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2020 13:31:44 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-12-29T13:31:44Z</dc:date>
    <item>
      <title>Mismatch in Stats UI &amp; Splunk API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mismatch-in-Stats-UI-amp-Splunk-API/m-p/534268#M150981</link>
      <description>&lt;DIV&gt;index=&amp;lt;&amp;lt;My_index&amp;gt;&amp;gt;&amp;nbsp; earliest="12/23/2020:10:00:00" latest="12/23/2020:11:00:00" "&amp;lt;&amp;lt;url&amp;gt;&amp;gt;" | eval MyFeild=replace(MyFeild,"\d{1}\d+","") | search MyFeild=*sample_search* | stats count by MyFeild&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I have been using the above search criteria in UI , it gives the a table in Statistics tab with&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MyFeild and its total Count&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;when I am using the splunkapi for some reason I am not getting the consolidated ouput&lt;BR /&gt;&lt;DIV&gt;https://&amp;lt;&amp;lt;mydomain for my splunkapi&amp;gt;&amp;gt;/services/search/jobs/export?search=search index=&amp;lt;&amp;lt;My_index&amp;gt;&amp;gt;&amp;nbsp; earliest="12/23/2020:10:00:00" latest="12/23/2020:11:00:00" "&amp;lt;&amp;lt;url&amp;gt;&amp;gt;" | eval MyFeild=replace(MyFeild,"\d{1}\d+","") | search MyFeild=*sample_search* | stats count by MyFeild&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Not sure If I am missing anything here&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Dec 2020 13:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mismatch-in-Stats-UI-amp-Splunk-API/m-p/534268#M150981</guid>
      <dc:creator>sugankrish88</dc:creator>
      <dc:date>2020-12-29T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mismatch in Stats UI &amp; Splunk API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mismatch-in-Stats-UI-amp-Splunk-API/m-p/534358#M150996</link>
      <description>&lt;P&gt;You say you don't get the "consolidate output", but what do you get?&amp;nbsp; Why are you trying to remove numerical data from the URL?&amp;nbsp; Are you authenticating in your request? Are you encoding the URL before sending it?&lt;/P&gt;&lt;P&gt;Please share the full API request.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 13:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mismatch-in-Stats-UI-amp-Splunk-API/m-p/534358#M150996</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-29T13:31:44Z</dc:date>
    </item>
  </channel>
</rss>

