<?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: timepiker doesn't work correctly in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379698#M24844</link>
    <description>&lt;P&gt;Here is a fun trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery "MUSTER_BACKUP" "SELECT [submission_time],[submitter] FROM backup_db_jobs"

| rename COMMENT AS "The Timepicker magic is here"
| addinfo
| where submission_time &amp;gt;= info_min_time AND submission_time &amp;lt;= info_max_time

| fieldformat mytime=strftime(submission_time,"%Y-%m-%d %H:%M:%S")
| fieldformat s_time=strftime(_time,"%Y-%m-%d %H:%M:%S")
| evenstats min(s_time) As min_s_time
| eval _time=if(min_s_time &amp;lt; mytime, s_time, mytime)
| eval pldetmpshumain=strftime(pldetmps,"%Y-%m-%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 06 Jul 2019 21:53:19 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-07-06T21:53:19Z</dc:date>
    <item>
      <title>timepiker doesn't work correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379697#M24843</link>
      <description>&lt;P&gt;Hi, it's just that I want to make a dashboard with a &lt;CODE&gt;time&lt;/CODE&gt; menu but when  I run it show me always the same Dashboard independant of the &lt;CODE&gt;time&lt;/CODE&gt; how I choose, so I try to understand I wrote that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery "MUSTER_BACKUP" "SELECT [submission_time],[submitter] FROM backup_db_jobs"
| eval mytime=strftime(submission_time,"%Y-%m-%d %H:%M:%S")
| eval s_time=strftime(_time,"%Y-%m-%d %H:%M:%S")
| eval _time=if(min(s_time) &amp;lt; mytime,s_time,mytime)
| eval pldetmpshumain=strftime(pldetmps,"%Y-%m-%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but when I start it (I try a lot of time with another notation) I see that the &lt;CODE&gt;_time&lt;/CODE&gt; is always the same as the &lt;CODE&gt;submission_time&lt;/CODE&gt; everyone know's what's going on ? &lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 13:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379697#M24843</guid>
      <dc:creator>almanacht</dc:creator>
      <dc:date>2019-07-05T13:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: timepiker doesn't work correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379698#M24844</link>
      <description>&lt;P&gt;Here is a fun trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbquery "MUSTER_BACKUP" "SELECT [submission_time],[submitter] FROM backup_db_jobs"

| rename COMMENT AS "The Timepicker magic is here"
| addinfo
| where submission_time &amp;gt;= info_min_time AND submission_time &amp;lt;= info_max_time

| fieldformat mytime=strftime(submission_time,"%Y-%m-%d %H:%M:%S")
| fieldformat s_time=strftime(_time,"%Y-%m-%d %H:%M:%S")
| evenstats min(s_time) As min_s_time
| eval _time=if(min_s_time &amp;lt; mytime, s_time, mytime)
| eval pldetmpshumain=strftime(pldetmps,"%Y-%m-%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Jul 2019 21:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379698#M24844</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-06T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: timepiker doesn't work correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379699#M24845</link>
      <description>&lt;P&gt;Thank you a lot !!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/timepiker-doesn-t-work-correctly/m-p/379699#M24845</guid>
      <dc:creator>almanacht</dc:creator>
      <dc:date>2019-07-08T09:17:01Z</dc:date>
    </item>
  </channel>
</rss>

