<?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 based on time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527523#M148915</link>
    <description>&lt;P&gt;i am not able to get the drilldown from the&amp;nbsp;&lt;SPAN&gt;x-axis.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(index=hc_trials OR index=hc_prod) (HCREBOOT) $hubprod$ ($sversion1$) ($region$) $excludetest$ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| search version="$form.sversion1$"&lt;BR /&gt;| fields + mac resetid deviceid version _time&lt;BR /&gt;| bin span=$spanres$ _time&lt;BR /&gt;| stats dc(mac) AS devices BY resetid version _time deviceid&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| WHERE resetid = "HW"&lt;BR /&gt;| timechart sum(devices) span=$spanres$ by version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleX.text"&amp;gt;Period&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY.text"&amp;gt;Number of reboots&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY.abbreviation"&amp;gt;auto&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY.scale"&amp;gt;log&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart.nullValueMode"&amp;gt;zero&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart.showDataLabels"&amp;gt;minmax&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="height"&amp;gt;302&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;set token="form.sversion1"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 13:13:54 GMT</pubDate>
    <dc:creator>sanjeev</dc:creator>
    <dc:date>2020-11-02T13:13:54Z</dc:date>
    <item>
      <title>drilldown based on time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527497#M148903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the following pic shows the chart in the left hand side,&amp;nbsp; i want a drilldown based on time when i click on the graph. for example when i click on the spike value-49, i should get all the values for that time when the spike has happened.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sanjeev_0-1604312954421.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11608iEDA3999B71B8C1C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sanjeev_0-1604312954421.png" alt="sanjeev_0-1604312954421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 10:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527497#M148903</guid>
      <dc:creator>sanjeev</dc:creator>
      <dc:date>2020-11-02T10:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: drilldown based on time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527500#M148905</link>
      <description>&lt;P&gt;$click.value$ will give you the value from the x-axis. You can use this to frame your drilldown query&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 11:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527500#M148905</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-02T11:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: drilldown based on time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527523#M148915</link>
      <description>&lt;P&gt;i am not able to get the drilldown from the&amp;nbsp;&lt;SPAN&gt;x-axis.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(index=hc_trials OR index=hc_prod) (HCREBOOT) $hubprod$ ($sversion1$) ($region$) $excludetest$ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| search version="$form.sversion1$"&lt;BR /&gt;| fields + mac resetid deviceid version _time&lt;BR /&gt;| bin span=$spanres$ _time&lt;BR /&gt;| stats dc(mac) AS devices BY resetid version _time deviceid&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| WHERE resetid = "HW"&lt;BR /&gt;| timechart sum(devices) span=$spanres$ by version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleX.text"&amp;gt;Period&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY.text"&amp;gt;Number of reboots&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY.abbreviation"&amp;gt;auto&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY.scale"&amp;gt;log&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart.nullValueMode"&amp;gt;zero&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart.showDataLabels"&amp;gt;minmax&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="height"&amp;gt;302&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;set token="form.sversion1"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527523#M148915</guid>
      <dc:creator>sanjeev</dc:creator>
      <dc:date>2020-11-02T13:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: drilldown based on time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527532#M148921</link>
      <description>&lt;P&gt;$click.value$ is the corresponding value from the x-axis. What you probably need to is use it to calculate the earliest and latest times for your subsequent panel&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;drilldown&amp;gt;
          &amp;lt;eval token="select_start_hour"&amp;gt;relative_time($click.value$, "@h")&amp;lt;/eval&amp;gt;
          &amp;lt;eval token="select_end_hour"&amp;gt;relative_time($select_start_hour$, "+1h@h")&amp;lt;/eval&amp;gt;
        &amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Then use&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=$select_start_hour$ latest=$select_end_hour$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Obviously, you may need to adjust the values calculated depending on your need.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/drilldown-based-on-time/m-p/527532#M148921</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-02T13:36:05Z</dc:date>
    </item>
  </channel>
</rss>

