<?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: Drilldown - pass the earliest and latest from a timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337934#M100223</link>
    <description>&lt;P&gt;@netanelm7, this is because your timechart has static span defined for 1 hour&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timechart span=1h 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can remove the &lt;CODE&gt;span=1h&lt;/CODE&gt; from timechart command if you want the span to be less than an hour. Please try out and confirm.&lt;/P&gt;</description>
    <pubDate>Sun, 03 Dec 2017 13:25:02 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-12-03T13:25:02Z</dc:date>
    <item>
      <title>Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337915#M100204</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;Im having a problem passing the earliest and latest from a timechart.&lt;BR /&gt;
On the main graph, im showing a table with hourly interval which shows some counter for each column.&lt;BR /&gt;
I wanted to pass the selected column and to show it on a different timechart with &lt;STRONG&gt;minutely&lt;/STRONG&gt; interval.&lt;/P&gt;

&lt;P&gt;the tokens I configured on the main graph are:&lt;BR /&gt;
jnl_mb_counter = $click.name2$&lt;BR /&gt;
jnl_mb_earliest = $earliest$&lt;BR /&gt;
jnl_mb_latest = $latest$&lt;/P&gt;

&lt;P&gt;The column is passing perfectly, but the time is always the entire time (if i have 3 hours - which are 3 rows in the main graph's table, no matter which hour i choose, i get the drilldown timechart with the entiretime)&lt;/P&gt;

&lt;P&gt;The drilldown query is:&lt;BR /&gt;
index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA earliest=$jnl_mb_earliest$ latest=$jnl_mb_latest$ | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | search IDs=$jnl_mb_counter$ | timechart span=1m avg(transfer_in_MB) as "$jnl_mb_counter$ Transfer"&lt;/P&gt;

&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:30:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337915#M100204</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2020-09-29T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337916#M100205</link>
      <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;Can you please try below XML??&lt;/P&gt;

&lt;P&gt;I have set earliest &amp;amp; latest in xml..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;CCC&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | timechart span=1h count by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;set token="name2"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
          &amp;lt;set token="clicked_e"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
          &amp;lt;set token="clicked_l"&amp;gt;$latest$&amp;lt;/set&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;title&amp;gt;$name2$&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;index=_internal sourcetype=$name2$| timechart span=1m count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$clicked_e$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;

&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:19:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337916#M100205</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-30T09:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337917#M100206</link>
      <description>&lt;P&gt;Hi, Tried it, didn't work. still thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337917#M100206</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-10-30T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337918#M100207</link>
      <description>&lt;P&gt;Can you please share your sample xml??&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337918#M100207</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-30T09:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337919#M100208</link>
      <description>&lt;P&gt;sure:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;JNL Preformance Table (Shows the number of times a JNLs MB/s is greater then 450 MB)&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;550 | timechart span=1h count(transfer_in_MB) by IDs&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$timeField1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$timeField1.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="jnl_mb_counter"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
      &amp;lt;set token="jnl_mb_earliest"&amp;gt;$earliest$&amp;lt;/set&amp;gt;
      &amp;lt;set token="jnl_mb_latest"&amp;gt;$latest$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel depends="$jnl_mb_counter$"&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;Drilldown Selected JNL MB&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA earliest=$jnl_mb_earliest$ latest=$jnl_mb_latest$ | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | search IDs=$jnl_mb_counter$ | timechart span=1m avg(transfer_in_MB) as "$jnl_mb_counter$ Transfer"&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$jnl_mb_earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$jnl_mb_latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337919#M100208</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-10-30T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337920#M100209</link>
      <description>&lt;P&gt;@netanelm7, your tokens seem fine. Can you share the query for the table from which you are doing the drilldown? Do you have _time field in the table from which you need to drilldown?&lt;/P&gt;

&lt;P&gt;PS: Looking at your query, your drilldown search will work better if &lt;CODE&gt;IDs=$jnl_mb_counter$&lt;/CODE&gt; is added to the base search rather than a pipe later on with &lt;CODE&gt;| search&lt;/CODE&gt; i.e. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA earliest=$jnl_mb_earliest$ latest=$jnl_mb_latest$ IDs=$jnl_mb_counter$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337920#M100209</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-30T10:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337921#M100210</link>
      <description>&lt;P&gt;Hi niketnilay,&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I've posted my entire XML below, but sure, that's my main query:&lt;BR /&gt;
index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;gt;550 | timechart span=1h count(transfer_in_MB) by IDs&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I've used EVAL after the base search so i havent found anyway to include the IDs=$jnl_mb_counter$ for example (it doenst know what is IDs in the base search)..&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Yes i have a _time field, im even outputing it in the query.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337921#M100210</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2020-09-29T16:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337922#M100211</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
Can you please try below XML??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;panel&amp;gt;
   &amp;lt;table&amp;gt;
     &amp;lt;title&amp;gt;JNL Preformance Table (Shows the number of times a JNLs MB/s is greater then 450 MB)&amp;lt;/title&amp;gt;
     &amp;lt;search&amp;gt;
       &amp;lt;query&amp;gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;550 | timechart span=1h count(transfer_in_MB) by IDs | eval start_time=_time , end_time=_time+_span&amp;lt;/query&amp;gt;
       &amp;lt;earliest&amp;gt;$timeField1.earliest$&amp;lt;/earliest&amp;gt;
       &amp;lt;latest&amp;gt;$timeField1.latest$&amp;lt;/latest&amp;gt;
     &amp;lt;/search&amp;gt;
     &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
     &amp;lt;drilldown&amp;gt;
       &amp;lt;set token="jnl_mb_counter"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
       &amp;lt;set token="jnl_mb_earliest"&amp;gt;$row.start_time$&amp;lt;/set&amp;gt;
       &amp;lt;set token="jnl_mb_latest"&amp;gt;$row.end_time$&amp;lt;/set&amp;gt;
     &amp;lt;/drilldown&amp;gt;
   &amp;lt;/table&amp;gt;
 &amp;lt;/panel&amp;gt;
 &amp;lt;panel depends="$jnl_mb_counter$"&amp;gt;
   &amp;lt;chart&amp;gt;
     &amp;lt;title&amp;gt;Drilldown Selected JNL MB&amp;lt;/title&amp;gt;
     &amp;lt;search&amp;gt;
       &amp;lt;query&amp;gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | search IDs=$jnl_mb_counter$ | timechart span=1m avg(transfer_in_MB) as "$jnl_mb_counter$ Transfer"&amp;lt;/query&amp;gt;
       &amp;lt;earliest&amp;gt;$jnl_mb_earliest$&amp;lt;/earliest&amp;gt;
       &amp;lt;latest&amp;gt;$jnl_mb_latest$&amp;lt;/latest&amp;gt;
     &amp;lt;/search&amp;gt;
     &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;connect&amp;lt;/option&amp;gt;
     &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
   &amp;lt;/chart&amp;gt;
 &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right now you will find 2 extra column in table.  start_time and end_time.  &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337922#M100211</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2020-09-29T16:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337923#M100212</link>
      <description>&lt;P&gt;Thank you!!! it's working, what is the _span variable?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 11:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337923#M100212</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-10-30T11:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337924#M100213</link>
      <description>&lt;P&gt;The &lt;CODE&gt;_span&lt;/CODE&gt; field indicates the &lt;CODE&gt;bin&lt;/CODE&gt; or &lt;CODE&gt;bucket&lt;/CODE&gt; size from your &lt;CODE&gt;timechart&lt;/CODE&gt; command, in your case &lt;CODE&gt;1h&lt;/CODE&gt; or 3600 seconds. Anytime you use a SPL function that performs bin'ing, the hidden &lt;CODE&gt;_span&lt;/CODE&gt; field is present. That field tells Splunk how to space out data on the x-axis when you chart timecharts.&lt;/P&gt;

&lt;P&gt;Please "like" or "upvote" my comment or you can turn it into an answer and accept it. Either way.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 11:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337924#M100213</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-10-30T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337925#M100214</link>
      <description>&lt;P&gt;thank you!, i upvoted it, when can i click "accept" on it?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 11:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337925#M100214</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-10-30T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337926#M100215</link>
      <description>&lt;P&gt;Click on Accept link of Answer. &lt;BR /&gt;
Scroll up to the first comment.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 12:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337926#M100215</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-10-30T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337927#M100216</link>
      <description>&lt;P&gt;Hi All, &lt;BR /&gt;
Here's another workaround given to me by one of our intrepid engineers that might work better than the one already posted:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;drilldown&amp;gt;
          &amp;lt;eval token="drilldown.earliest"&amp;gt;strptime($row._time$,"%Y-%m-%d %H:%M:%S")&amp;lt;/eval&amp;gt;
          &amp;lt;eval token="drilldown.latest"&amp;gt;strptime($row._time$,"%Y-%m-%d %H:%M:%S") + $row._span$&amp;lt;/eval&amp;gt;
        &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Oct 2017 21:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337927#M100216</guid>
      <dc:creator>emeelan_splunk</dc:creator>
      <dc:date>2017-10-30T21:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337928#M100217</link>
      <description>&lt;P&gt;This is the correct answer. My previous (now deleted) answer was incorrect in that I thought &lt;CODE&gt;row._time&lt;/CODE&gt; would return the epoch seconds and not the string version of time.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:28:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337928#M100217</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-10-31T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337929#M100218</link>
      <description>&lt;P&gt;@emeelan [Splunk], thanks for the workaround. Do post an update here once the earliest and latest tokens are fixed for table drilldown event.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337929#M100218</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-31T19:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337930#M100219</link>
      <description>&lt;P&gt;I still have an issue.&lt;BR /&gt;
The code is working but when the time is above 1h..&lt;BR /&gt;
When I tell him to show me the last hour or less (30 minutes for example), it shows me the _time column empty.. and the drilldown doesnt work/&lt;BR /&gt;
My guess is that it doesnt know the earliest or latest.. &lt;/P&gt;

&lt;P&gt;Thank you for your answer!&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 08:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337930#M100219</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-11-05T08:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337931#M100220</link>
      <description>&lt;P&gt;@netanelm7, can you give just the drilldown code that you have right now?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 02:38:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337931#M100220</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-06T02:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337932#M100221</link>
      <description>&lt;P&gt;Sure:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;JNL Preformance Table (Shows the number of times a JNLs MB/s is greater then 450 MB)&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;450 | search IDs="JNL000" | dedup _time | timechart span=1h count(transfer_in_MB) by IDs | appendcols [search index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;450 | search IDs="JNL00A" | dedup _time | timechart span=1h count(transfer_in_MB) by IDs] | appendcols [search index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;450 | search IDs="JNL014" | dedup _time | timechart span=1h count(transfer_in_MB) by IDs] | appendcols [search index=storage_18037 sourcetype=csvRotemA_JNL_SUMMARY NOT DATETIME host=RotemA | eval transfer_in_MB=M_JNL_ASYNC_XFER_RATE/1024,IDs="JNL".JOURNAL_ID | where transfer_in_MB&amp;amp;gt;450 | search IDs="JNL01E" | dedup _time | timechart span=1h count(transfer_in_MB) by IDs] | fillnull value="0" JNL000 | fillnull value="0" JNL00A | fillnull value="0" JNL014 | fillnull value="0" JNL01E | eval start_time=_time, end_time=_time+_span&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$timeField1.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$timeField1.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="jnl_mb_counter"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;
      &amp;lt;eval token="drilldown.earliest"&amp;gt;strptime($row._time$,"%Y-%m-%d %H:%M:%S")&amp;lt;/eval&amp;gt;
      &amp;lt;eval token="drilldown.latest"&amp;gt;strptime($row._time$,"%Y-%m-%d %H:%M:%S") + $row._span$&amp;lt;/eval&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now it worked for some reason (i managed to see 1 line below 1h range... but sometimes it doesnt (and i see the _time column empty), weird&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 12:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337932#M100221</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-11-09T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337933#M100222</link>
      <description>&lt;P&gt;Can someone help me please?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 12:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337933#M100222</guid>
      <dc:creator>netanelm7</dc:creator>
      <dc:date>2017-12-03T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown - pass the earliest and latest from a timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337934#M100223</link>
      <description>&lt;P&gt;@netanelm7, this is because your timechart has static span defined for 1 hour&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timechart span=1h 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can remove the &lt;CODE&gt;span=1h&lt;/CODE&gt; from timechart command if you want the span to be less than an hour. Please try out and confirm.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 13:25:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drilldown-pass-the-earliest-and-latest-from-a-timechart/m-p/337934#M100223</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-12-03T13:25:02Z</dc:date>
    </item>
  </channel>
</rss>

