<?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: View events changes timeframe in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425664#M167050</link>
    <description>&lt;P&gt;Any expert?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 05:19:14 GMT</pubDate>
    <dc:creator>shayhibah</dc:creator>
    <dc:date>2018-10-15T05:19:14Z</dc:date>
    <item>
      <title>View events changes timeframe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425663#M167049</link>
      <description>&lt;P&gt;I have dashboards with drill down option.&lt;BR /&gt;
The drill down query contains custom earliest and latest tokens since there was an issue with the time frame.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;....|rename "0" as "High" "1" as "Critical" | table _time,"Critical","High"&amp;amp;amp;earliest=$clicked_earliest_date$&amp;amp;amp;latest=$clicked_latest_date$&amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After drilling down, the time frame is correct (based on the clicked event time value):&lt;BR /&gt;
**  158 events (9/14/18 12:00:00.000 AM to 9/15/18 12:00:00.000 AM) **&lt;/P&gt;

&lt;P&gt;But, when click on the results and choose "view events", the time frame is changed to its old value (which was wrong - 1 ms instead of 2 days).&lt;BR /&gt;
&lt;STRONG&gt;0 events (9/14/18 12:00:00.000 AM to 9/14/18 12:00:00.001 AM)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;How can I fix it?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 09:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425663#M167049</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-14T09:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: View events changes timeframe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425664#M167050</link>
      <description>&lt;P&gt;Any expert?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 05:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425664#M167050</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-15T05:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: View events changes timeframe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425665#M167051</link>
      <description>&lt;P&gt;Try form.earliest =$clicked_earliest_date$&amp;amp;form.latest=$clicked_latest_date$ in your link tag&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425665#M167051</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2020-09-29T21:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: View events changes timeframe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425666#M167052</link>
      <description>&lt;P&gt;hi @Vijeta &lt;/P&gt;

&lt;P&gt;Unfortunately it does not work.&lt;BR /&gt;
After drill down the first time, I clicked on the cell in the table and before clicking on view events, I noticed that in this small picker, the timeframe is wrong and not the same as the search bar.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 05:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425666#M167052</guid>
      <dc:creator>shayhibah</dc:creator>
      <dc:date>2018-10-16T05:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: View events changes timeframe</title>
      <link>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425667#M167053</link>
      <description>&lt;P&gt;Which is your splunk version and it will be good if you post your Dashboard XML code (Mask any sensitive data) ? &lt;/P&gt;

&lt;P&gt;For me it is working fine in Splunk 7.1.2with below test Dashboard XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;dashboard test 1&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input type="time" token="time_tok" searchWhenChanged="true"&amp;gt;
        &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
        &amp;lt;default&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/default&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | head 10 | stats count by host&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$time_tok.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time_tok.latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;search?q=index=_internal host=$row.host$ bytes=* | table bytes&amp;amp;amp;earliest=$time_tok.earliest$&amp;amp;amp;latest=$time_tok.latest$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Oct 2018 09:41:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/View-events-changes-timeframe/m-p/425667#M167053</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-10-16T09:41:12Z</dc:date>
    </item>
  </channel>
</rss>

