<?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 results for the same search however when rerun same results are returned in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639338#M221519</link>
    <description>&lt;P&gt;Subsearches are limited to 50,000 events - if you have more than 50,000 events, your search can give odd results.&lt;/P&gt;&lt;P&gt;In your case, do you actually need a subsearch? Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=proxy sourcetype="XXX" filter_category="File_Storage/Sharing"
| eval end_time=strftime(_time, "%Y-%m-%d %H:%M:%S")
| eval bytes_in=bytes_in/1024/1024/1024
| eval bytes_in=round(bytes_in, 2)
| eventstats count(eval(bytes_in&amp;gt;0)) as Number_File_Uploads by user url
| table end_time,user,src,src_remarks01,url,bytes_in,Number_File_Uploads
| sort - bytes_in
| head 20
| rename "end_time" as "Access date and time", "src" as "IP address", "src_remarks01" as "Asset information", "bytes_in" as "BytesIn(GB)"&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 10 Apr 2023 08:12:08 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-04-10T08:12:08Z</dc:date>
    <item>
      <title>Why are there different results for the same search however when rerun same results are returned?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639336#M221517</link>
      <description>&lt;P&gt;I have done a search as below to&amp;nbsp;&lt;SPAN&gt;create a table in Dashboard to list the top 20 users that upload files the most to cloud storage services and their accessed cloud storage service URLs then&amp;nbsp;get the number of file uploads for each user base on that listed 20 users and theirs accessed URLs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is a problem that the search shows different results sometimes but when I rerun the search it will return the same result which is probably the correct one even though I do not change anything.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Has anyone seen the same symptom like this so far? Is there anything in my queries that possibly affects the search or there might be a cache problem?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(time range:last month)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=proxy sourcetype="XXX" filter_category="File_Storage/Sharing"
[ search index=proxy sourcetype="XXX" filter_category="File_Storage/Sharing"
| eval end_time=strftime(_time, "%Y-%m-%d %H:%M:%S")
| eval bytes_in=bytes_in/1024/1024/1024
| eval bytes_in=round(bytes_in, 2)
| table end_time,user,url,bytes_in
| sort - bytes_in
| head 20
| fields user url ]
| eval end_time=strftime(_time, "%Y-%m-%d %H:%M:%S")
| eventstats count(eval(bytes_in&amp;gt;0)) as Number_File_Uploads by user url
| table end_time,user,src,src_remarks01,url,bytes_in,Number_File_Uploads
| eval bytes_in=bytes_in/1024/1024/1024
| eval bytes_in=round(bytes_in, 2)
| sort - bytes_in
| head 20
| rename "end_time" as "Access date and time", "src" as "IP address", "src_remarks01" as "Asset information", "bytes_in" as "BytesIn(GB)"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 16:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639336#M221517</guid>
      <dc:creator>TrangCIC81</dc:creator>
      <dc:date>2023-04-10T16:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different results for the same search however when rerun same results are returned</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639338#M221519</link>
      <description>&lt;P&gt;Subsearches are limited to 50,000 events - if you have more than 50,000 events, your search can give odd results.&lt;/P&gt;&lt;P&gt;In your case, do you actually need a subsearch? Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=proxy sourcetype="XXX" filter_category="File_Storage/Sharing"
| eval end_time=strftime(_time, "%Y-%m-%d %H:%M:%S")
| eval bytes_in=bytes_in/1024/1024/1024
| eval bytes_in=round(bytes_in, 2)
| eventstats count(eval(bytes_in&amp;gt;0)) as Number_File_Uploads by user url
| table end_time,user,src,src_remarks01,url,bytes_in,Number_File_Uploads
| sort - bytes_in
| head 20
| rename "end_time" as "Access date and time", "src" as "IP address", "src_remarks01" as "Asset information", "bytes_in" as "BytesIn(GB)"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 10 Apr 2023 08:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639338#M221519</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-10T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Different results for the same search however when rerun same results are returned</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639343#M221520</link>
      <description>&lt;P&gt;I tried with your search which is thought should work too but it shows the number of downloads 0, meanwhile with the previous search it shows with number &amp;gt;0. (The other columns's values are same&amp;nbsp; between both searches which is no problem)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 09:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639343#M221520</guid>
      <dc:creator>TrangCIC81</dc:creator>
      <dc:date>2023-04-10T09:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Different results for the same search however when rerun same results are returned</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639345#M221521</link>
      <description>&lt;P&gt;Please show the exact search you are using to give this result&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 09:09:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639345#M221521</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-10T09:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Different results for the same search however when rerun same results are returned</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639346#M221522</link>
      <description>&lt;P&gt;Sorry I actually wanted it to be bytes_out&amp;gt;10000000 so I changed it a little bit with your search and it works!&lt;/P&gt;&lt;P&gt;Many thanks. Accepted your solution.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval bytes_out=bytes_out/1024/1024/1024
| eventstats count(eval(bytes_out&amp;gt;10000000/1024/1024/1024)) as Number_File_Uploads by user url
| table end_time,user,src,src_remarks01,url,bytes_out,Number_File_Uploads
| sort - bytes_out
| eval bytes_out=round(bytes_out, 2)
| head 20&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 09:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-there-different-results-for-the-same-search-however-when/m-p/639346#M221522</guid>
      <dc:creator>TrangCIC81</dc:creator>
      <dc:date>2023-04-10T09:10:42Z</dc:date>
    </item>
  </channel>
</rss>

