<?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 How to make timeline drilldown time parameters? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-timeline-drilldown-time-parameters/m-p/642725#M222613</link>
    <description>&lt;P&gt;I'm trying to do a drilldown of a timechart where the Y-axis field is Domain and the value is a count, X-axis is time by Day. I've done this successfully with other visualizations but am having trouble passing the time on the x-axis into my new search. Everything seems to be working but every time it's run, I get "No results found"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=main sourcetype=mysourcetype
| eval start=$dd_earliest$
| eval end=start+86399
| eval earliest=strftime(start, "%m/%d/%Y%H:%M:%S"), latest=strftime(end, "%m/%d/%Y%H:%M:%S")
| search Domain=$selected_domain$ earliest=earliest latest=latest
| rest of search.....&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's what I have for the search it's drilldowned from:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;set token="selected_domain"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;set token="dd_earliest"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The values all pass though correctly but there is something wrong with my earliest and latest in my search. I've tried using the start and end values instead, surrounding them in quotes, and a few other things but to no avail.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 15:02:52 GMT</pubDate>
    <dc:creator>michaeler</dc:creator>
    <dc:date>2023-05-10T15:02:52Z</dc:date>
    <item>
      <title>How to make timeline drilldown time parameters?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-timeline-drilldown-time-parameters/m-p/642725#M222613</link>
      <description>&lt;P&gt;I'm trying to do a drilldown of a timechart where the Y-axis field is Domain and the value is a count, X-axis is time by Day. I've done this successfully with other visualizations but am having trouble passing the time on the x-axis into my new search. Everything seems to be working but every time it's run, I get "No results found"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=main sourcetype=mysourcetype
| eval start=$dd_earliest$
| eval end=start+86399
| eval earliest=strftime(start, "%m/%d/%Y%H:%M:%S"), latest=strftime(end, "%m/%d/%Y%H:%M:%S")
| search Domain=$selected_domain$ earliest=earliest latest=latest
| rest of search.....&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's what I have for the search it's drilldowned from:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;set token="selected_domain"&amp;gt;$click.name2$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;set token="dd_earliest"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The values all pass though correctly but there is something wrong with my earliest and latest in my search. I've tried using the start and end values instead, surrounding them in quotes, and a few other things but to no avail.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 15:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-timeline-drilldown-time-parameters/m-p/642725#M222613</guid>
      <dc:creator>michaeler</dc:creator>
      <dc:date>2023-05-10T15:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline drilldown time parameters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-timeline-drilldown-time-parameters/m-p/642731#M222614</link>
      <description>&lt;P&gt;Try using &lt;FONT face="courier new,courier"&gt;starttime&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;endtime&lt;/FONT&gt; with strings as values.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main sourcetype=mysourcetype
| eval start=$dd_earliest$
| eval end=start+86399
| eval earliest="\"".strftime(start, "%m/%d/%Y:%H:%M:%S")."\"", latest="\".strftime(end, "%m/%d/%Y:%H:%M:%S")."\""
| search Domain=$selected_domain$ starttime=earliest endtime=latest
| rest of search.....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 20:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-timeline-drilldown-time-parameters/m-p/642731#M222614</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-09T20:34:14Z</dc:date>
    </item>
  </channel>
</rss>

