<?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: Search time range suddenly causes search to return zero results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78335#M19826</link>
    <description>&lt;P&gt;Those results look alright though? thats just the latency and its pretty small - unless theres other bits you haven't pasted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I have some UDP data and sometimes if theres a blip in the network then latency can be introduced, if Splunk searches before the data arrives then it will rightly think there is an issue.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2013 14:34:12 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2013-10-01T14:34:12Z</dc:date>
    <item>
      <title>Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78330#M19821</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;

&lt;P&gt;I'm running Splunk version 5.0.3, build 163460 on Suse Linux 3.0.13-0.27&lt;/P&gt;

&lt;P&gt;I have a Splunk Dashboard Search and a Splunk Alert Search that look as follows...&lt;/P&gt;

&lt;P&gt;8888888888888888888 Below is saved Search used in Dashboard Panel 888888888888888888&lt;BR /&gt;
source=udp:515 f5type="RESPONSE" earliest=-60m@h latest=@h| bucket _time span=1m | fields status, _time | eventstats count as TotalTransx by _time | eventstats count as TransactionByStatusCount by _time status | dedup status, TransactionByStatusCount, TotalTransx | where status!="200" | eventstats sum(TransactionByStatusCount) as TotalExceptions  by _time| dedup _time, TotalExceptions, TotalTransx  | eval SuccessfullTransx=( TotalTransx - TotalExceptions)| convert timeformat="%H:%M" ctime(_time) AS Time| sort Time | table Time, TotalTransx, SuccessfullTransx, TotalExceptions | chart avg(TotalTransx) AS "Total Transactions" avg(SuccessfullTransx) AS "Transaction Success" avg(TotalExceptions) AS "Transaction Failures"&lt;BR /&gt;
8888888888888888888 Below is Search used for an Alert 888888888888888888&lt;/P&gt;

&lt;P&gt;source=udp:515 f5type="RESPONSE" earliest=-2m@m latest=-1m@m | stats count | where count=0&lt;/P&gt;

&lt;P&gt;8888888888888888888888888888888888888&lt;/P&gt;

&lt;P&gt;All of a sudden today (after it has been running fine for many months) these searches started returning zero results and thus the the Dashboard showed no values and the Alert triggered! The Application team(For the application we're using Splunk to monitor) told me their application was running just fine when I checked with them to see if the alert was correct in reporting the application down. On performing further checks, it turns out the Alert was actually false. I realized the problem only happens when I specify the time range using (earliest=-60m@h latest=@h) or (earliest=-2m@m and latest=-1m@m) on the search app. I ultimately decided to restart the Splunk server but this did not seem to resolve the issue as the problem persisted for some 20 minutes after the server restart.  This false alerts lasted about 1 hour and a half hour then the problem auto-magically resolved itself!&lt;/P&gt;

&lt;P&gt;Any one ever experience this odd phenomena? Any ideas on what may have suddenly caused this strange behavior and how I can prevent it from happening in the future?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78330#M19821</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2020-09-28T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78331#M19822</link>
      <description>&lt;P&gt;Just to be clear, are you saying that the original source data kept arriving during this time? Is it not the case that you were missing events? Since you're relying on UDP its quite possible that the application could be available but no log data was received&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 13:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78331#M19822</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-10-01T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78332#M19823</link>
      <description>&lt;P&gt;Indeed the incoming data was still following when this odd phenomena took place. When I specified the time using the "Time Range Picker" and NOT the search field I could see the events for the desired time range. I'm not missing any events at all and UDP was not the culprit. Thank you very much for the swift response. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 14:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78332#M19823</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2013-10-01T14:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78333#M19824</link>
      <description>&lt;P&gt;Are you sure that the data arrived when it should have? My next thought would be to run something like &lt;CODE&gt;sourcetype=blah | eval IndexTime=_indextime | eval diff=_time-IndexTime | timechart avg(diff)&lt;/CODE&gt; or something similar for your data over the hour that you experienced problems to see if the events did arrive, but perhaps were indexed later due to latency or some other hiccup&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 14:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78333#M19824</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-10-01T14:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78334#M19825</link>
      <description>&lt;P&gt;Performed the search you provided above for time range 12h00 to 14h00 today and got the below results. Seems you're correct that the indexing stopped for some reason! &lt;/P&gt;

&lt;P&gt;=======+&lt;BR /&gt;
sourcetype="f5ltm" | eval IndexTime=_indextime | eval diff=_time-IndexTime | timechart avg(diff)&lt;BR /&gt;
=======+&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time   avg(diff)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1   10/1/13 12:00:00.000 PM -0.035207&lt;BR /&gt;
2   10/1/13 12:05:00.000 PM -0.034583&lt;BR /&gt;
3   10/1/13 12:10:00.000 PM -0.034141&lt;BR /&gt;
4   10/1/13 12:15:00.000 PM -0.033685&lt;BR /&gt;
5   10/1/13 12:20:00.000 PM -0.035301&lt;/P&gt;

&lt;P&gt;Not sure what could have happened though... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78334#M19825</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2020-09-28T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78335#M19826</link>
      <description>&lt;P&gt;Those results look alright though? thats just the latency and its pretty small - unless theres other bits you haven't pasted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I have some UDP data and sometimes if theres a blip in the network then latency can be introduced, if Splunk searches before the data arrives then it will rightly think there is an issue.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 14:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78335#M19826</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-10-01T14:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78336#M19827</link>
      <description>&lt;P&gt;There is in fact a "diff" value gap between 12h20 and 14h30 that I didn't show in the previous comment above. So there was an apparent loss of data in that time span as the reporting also reflect no results for that period. So perhaps as you suggested, UDP misbehaved or the network had some glitch during that moment. Thank you very much for helping get to the root cause of the problem. Tomorrow I'll try AGAIN to find out from networks if there is anything odd they picked up about the network during that time span that may have resulted in data not reaching the Splunk server.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 15:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78336#M19827</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2013-10-01T15:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78337#M19828</link>
      <description>&lt;P&gt;No worries, I've converted the comment to an answer so feel free to click the tick and accept it if you're feeling generous &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Hope you find the problem! (Also, switch to TCP!)&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 19:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78337#M19828</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2013-10-01T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78338#M19829</link>
      <description>&lt;P&gt;Ok, bad news! The problem is recurring now as I type. And the data is following in through UDP port 515 as reflected in the tcpdump output. So the problem is NOT the network dropping data packets as we had concluded. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;mxxxmachine:~ # tcpdump dst port 515&lt;BR /&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;BR /&gt;
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes&lt;BR /&gt;
14:41:42.691803 IP 192.17.100.75.39560 &amp;gt; &lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;/P&gt;

&lt;P&gt;Any other suggestions that could help get to the root of this problem and prevent it from recurring?&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 12:46:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78338#M19829</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2013-10-02T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search time range suddenly causes search to return zero results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78339#M19830</link>
      <description>&lt;P&gt;This problem is becoming a daily pain. Done some log analysis and it turns out the problems happens when the following entry in the log happen. Unfortunately, it doesn't happen all the time. Help!&lt;BR /&gt;
=====================+&lt;BR /&gt;
10-22-2013 07:37:00.603 +0200 WARN  AggregatorMiningProcessor - Breaking event because limit of 256 has been exceeded - data_source="udp             :515", data_host="172.17.100.75", data_sourcetype="f5ltm"&lt;BR /&gt;
10-22-2013 09:37:00.586 +0200 WARN  AggregatorMiningProcessor - Breaking event because limit of 256 has been exceeded - data_source="udp&lt;BR /&gt;&lt;BR /&gt;
=====================+&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-range-suddenly-causes-search-to-return-zero-results/m-p/78339#M19830</guid>
      <dc:creator>napomokoetle</dc:creator>
      <dc:date>2020-09-28T15:02:09Z</dc:date>
    </item>
  </channel>
</rss>

