<?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: Different count results  after table/fields in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678797#M12377</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback,&lt;/P&gt;&lt;P&gt;I will try to provide the maximum of details here:&lt;/P&gt;&lt;P&gt;- We have a dashboard using simple searches, in single value panels, in every single value&lt;/P&gt;&lt;P&gt;we have this kind of query :&lt;STRONG&gt; index=x sourcetype=z filter1=a filter2=b&lt;/STRONG&gt; |&amp;nbsp; &lt;STRONG&gt;stats dc(value) as nb_value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- For optimization inqueries we had to use a base search containing the first part of the query, when called in a single value panel, it did not provide any result , so we defined the fields we wanted to extract with the &lt;STRONG&gt;fields&lt;/STRONG&gt; command and applied the stats dc right after, we have noticed that we had less results (turned also into verbose mode) , when replaced the &lt;STRONG&gt;fields&lt;/STRONG&gt; with &lt;STRONG&gt;table&lt;/STRONG&gt; command we had the exact number.&lt;/P&gt;&lt;P&gt;PS: we have no errors just noticed the big difference in results , we are in splunkcloud.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2024 10:28:52 GMT</pubDate>
    <dc:creator>Hsebri</dc:creator>
    <dc:date>2024-02-27T10:28:52Z</dc:date>
    <item>
      <title>Different count results  after table/fields</title>
      <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678679#M12375</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;We actually noticed different results in two dashboard panels.&lt;/P&gt;&lt;P&gt;1-With the first, We have used the &lt;STRONG&gt;fields&lt;/STRONG&gt; command to specify the fields we needed to work with, then applied a count.&lt;/P&gt;&lt;P&gt;2-In the second, The same query was used with the &lt;STRONG&gt;table &lt;/STRONG&gt;command instead of fields and then applying a count&lt;/P&gt;&lt;P&gt;We have noticed different results in count, query number 2 , gave a correct and complete result.&lt;/P&gt;&lt;P&gt;Can someone please explain the difference between the two commands table and fields , and why fiels seems to give missing results&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678679#M12375</guid>
      <dc:creator>Hsebri</dc:creator>
      <dc:date>2024-02-26T15:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Different count results  after table/fields</title>
      <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678784#M12376</link>
      <description>&lt;P&gt;1. If you want to just count, you don't need to do either fields or table in the first place.&lt;/P&gt;&lt;P&gt;2. Your quesiton lacks details - actual searches run, results and possible warnings/errors you got, your architecture.&lt;/P&gt;&lt;P&gt;3. Did you check the search logs?&lt;/P&gt;&lt;P&gt;4. How do you know which one is the correct result and what does that mean in this context?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 08:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678784#M12376</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-02-27T08:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Different count results  after table/fields</title>
      <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678797#M12377</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback,&lt;/P&gt;&lt;P&gt;I will try to provide the maximum of details here:&lt;/P&gt;&lt;P&gt;- We have a dashboard using simple searches, in single value panels, in every single value&lt;/P&gt;&lt;P&gt;we have this kind of query :&lt;STRONG&gt; index=x sourcetype=z filter1=a filter2=b&lt;/STRONG&gt; |&amp;nbsp; &lt;STRONG&gt;stats dc(value) as nb_value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- For optimization inqueries we had to use a base search containing the first part of the query, when called in a single value panel, it did not provide any result , so we defined the fields we wanted to extract with the &lt;STRONG&gt;fields&lt;/STRONG&gt; command and applied the stats dc right after, we have noticed that we had less results (turned also into verbose mode) , when replaced the &lt;STRONG&gt;fields&lt;/STRONG&gt; with &lt;STRONG&gt;table&lt;/STRONG&gt; command we had the exact number.&lt;/P&gt;&lt;P&gt;PS: we have no errors just noticed the big difference in results , we are in splunkcloud.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:28:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678797#M12377</guid>
      <dc:creator>Hsebri</dc:creator>
      <dc:date>2024-02-27T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Different count results  after table/fields</title>
      <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678801#M12378</link>
      <description>&lt;P&gt;OK. So this is not about the searching itself but rather about the base/post-process search functionality within the dashboard. It's a completely different topic. Base search should be a reporting search and should not return an overly huge number of results. Otherwise you might get into some unpredictable results (and there was definitely something about specifying a list of fields but I can't recall the details).&lt;/P&gt;&lt;P&gt;Anyway, it's usually not a good practice to return a raw list of events from the base search and then postprocess it with stats as the "refining" search. The approach should be to generate all (possibly relatively fairly detailed) stats in the base search and aggregate them the way you want in the post-process search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/678801#M12378</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-02-27T10:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Different count results  after table/fields</title>
      <link>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/679000#M12386</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;very helpful!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 14:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Different-count-results-after-table-fields/m-p/679000#M12386</guid>
      <dc:creator>Hsebri</dc:creator>
      <dc:date>2024-02-28T14:30:31Z</dc:date>
    </item>
  </channel>
</rss>

