<?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: Longer Period of Time showing Fewer Results?? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185817#M53542</link>
    <description>&lt;P&gt;Could you check if individual searches (main search and subsearch) are returning data, for the period May30-Jun02, independently? and have matching events so that join can be applied?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2014 19:55:53 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-06-02T19:55:53Z</dc:date>
    <item>
      <title>Longer Period of Time showing Fewer Results??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185814#M53539</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have a search which returns 37 results for one date (May 30), but 0 results for May 30-Jun2.  I am failing to see in the search anything that should be using time or cancelling results from a longer search period.&lt;/P&gt;

&lt;P&gt;The search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=mssql-audit class_type=U | lookup dm_audit_actions action_id OUTPUT name
| join host, session_id, server_principal_id [ search eventtype=mssql-audit class_type="*" succeeded="true" src_ip="*" | eval src_ip=if(src_ip=="local machine",host,src_ip) | stats values(src_ip) as src_ip by host,session_id,server_principal_id ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So why does a search give me results for a period of time, but no results for "period of time" + a day?  &lt;/P&gt;

&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 18:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185814#M53539</guid>
      <dc:creator>essklau</dc:creator>
      <dc:date>2014-06-02T18:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Longer Period of Time showing Fewer Results??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185815#M53540</link>
      <description>&lt;P&gt;try this to help diagnose your problem.&lt;/P&gt;

&lt;P&gt;Apply a _time bucket within your query and do a |stats count by _time&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bucket _time span=24h | stats count by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Jun 2014 18:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185815#M53540</guid>
      <dc:creator>hagjos43</dc:creator>
      <dc:date>2014-06-02T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Longer Period of Time showing Fewer Results??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185816#M53541</link>
      <description>&lt;P&gt;I switched the span to 1h.  There are events in the one day search that break down as expected by the hour.  The one day + more days search still returns zero results.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:31:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185816#M53541</guid>
      <dc:creator>essklau</dc:creator>
      <dc:date>2014-06-02T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Longer Period of Time showing Fewer Results??</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185817#M53542</link>
      <description>&lt;P&gt;Could you check if individual searches (main search and subsearch) are returning data, for the period May30-Jun02, independently? and have matching events so that join can be applied?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Longer-Period-of-Time-showing-Fewer-Results/m-p/185817#M53542</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-02T19:55:53Z</dc:date>
    </item>
  </channel>
</rss>

