<?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 why events show up in 5 min. window but not in 30-sec for real-time search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/why-events-show-up-in-5-min-window-but-not-in-30-sec-for-real/m-p/27758#M5422</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;pretty new to splunk.  I'm setting up a realtime search that will refresh every 30 sec.  Here's my query on the search form.&lt;/P&gt;

&lt;P&gt;source="C:\tmp\log4j2.log" bam userlogin &lt;BR /&gt;
and I selected 30-second window from the dropdown&lt;/P&gt;

&lt;P&gt;I've a simple simulator class that writes a single msg to the log file every 3 seconds with a total of 20 msg's.  The msg's don't show up as the timeline advances, but usually only the last msg shows up.  But if I set the refresh window to a higher number like 5 min., all the msg's show up.  &lt;/P&gt;

&lt;P&gt;Can anyone explain why this is?  thanks&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2012 21:01:39 GMT</pubDate>
    <dc:creator>sou128</dc:creator>
    <dc:date>2012-04-16T21:01:39Z</dc:date>
    <item>
      <title>why events show up in 5 min. window but not in 30-sec for real-time search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-events-show-up-in-5-min-window-but-not-in-30-sec-for-real/m-p/27758#M5422</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;pretty new to splunk.  I'm setting up a realtime search that will refresh every 30 sec.  Here's my query on the search form.&lt;/P&gt;

&lt;P&gt;source="C:\tmp\log4j2.log" bam userlogin &lt;BR /&gt;
and I selected 30-second window from the dropdown&lt;/P&gt;

&lt;P&gt;I've a simple simulator class that writes a single msg to the log file every 3 seconds with a total of 20 msg's.  The msg's don't show up as the timeline advances, but usually only the last msg shows up.  But if I set the refresh window to a higher number like 5 min., all the msg's show up.  &lt;/P&gt;

&lt;P&gt;Can anyone explain why this is?  thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 21:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-events-show-up-in-5-min-window-but-not-in-30-sec-for-real/m-p/27758#M5422</guid>
      <dc:creator>sou128</dc:creator>
      <dc:date>2012-04-16T21:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: why events show up in 5 min. window but not in 30-sec for real-time search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/why-events-show-up-in-5-min-window-but-not-in-30-sec-for-real/m-p/27759#M5423</link>
      <description>&lt;P&gt;I can think of 2 reasons:&lt;BR /&gt;
1: Every input pipeline has a latency (delay in delivery/processing until it is available for search).  It my take more than 30 seconds for the app to gather the event, dump the logs to a file, Splunk forwarder to process them, Splunk indexer to to process them.&lt;BR /&gt;
2: If you are processing a "durationful" event and are using the "start time", you will see this kind of problem.  You should always use "end time" when you have a "duratoinful" event.  If you use "start time" than events will appear "too far back" for your window to ever see them.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/why-events-show-up-in-5-min-window-but-not-in-30-sec-for-real/m-p/27759#M5423</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-04-28T22:08:39Z</dc:date>
    </item>
  </channel>
</rss>

