<?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 Date Picker in Simple XML in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192178#M12006</link>
    <description>&lt;P&gt;My requirement is to pick a single date rather than selecting the Date Range in Time Range Picker Or Date Range to select as default in Time Range Picker&lt;BR /&gt;
Any suggestions plz.....&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2014 12:46:45 GMT</pubDate>
    <dc:creator>lahariveerlapat</dc:creator>
    <dc:date>2014-03-18T12:46:45Z</dc:date>
    <item>
      <title>Date Picker in Simple XML</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192178#M12006</link>
      <description>&lt;P&gt;My requirement is to pick a single date rather than selecting the Date Range in Time Range Picker Or Date Range to select as default in Time Range Picker&lt;BR /&gt;
Any suggestions plz.....&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 12:46:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192178#M12006</guid>
      <dc:creator>lahariveerlapat</dc:creator>
      <dc:date>2014-03-18T12:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date Picker in Simple XML</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192179#M12007</link>
      <description>&lt;P&gt;I am looking for same.&lt;BR /&gt;
Want to create a calendar date picker field in setup.xml.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 10:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192179#M12007</guid>
      <dc:creator>splunk_mkhan</dc:creator>
      <dc:date>2015-05-21T10:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date Picker in Simple XML</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192180#M12008</link>
      <description>&lt;P&gt;If you select same date in both textboxes , it is automatically equivalent to 1 day. i.e. if you are selecting 05/27/2015 in both text boxes, it actually means 05/27/2015 (00:00:00) to 05/27/2015 (24:00:00). &lt;BR /&gt;
As of now, I think there are not any available parameters under timerangepicker module which can help us achieving this.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 11:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192180#M12008</guid>
      <dc:creator>intelsubham</dc:creator>
      <dc:date>2015-05-27T11:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Picker in Simple XML</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192181#M12009</link>
      <description>&lt;P&gt;The way I handled this recently was to forego the time picker and use a multi-select in concert with the automagic "date" field. Note: I've limited the date picker here to the last 15 days, so as not to overtax the SH. Adjust the  parameter to meet your needs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="multiselect" token="DATE_tok" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Date&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
      &amp;lt;prefix&amp;gt;(&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;)&amp;lt;/suffix&amp;gt;
      &amp;lt;valuePrefix&amp;gt;date="&amp;lt;/valuePrefix&amp;gt;
      &amp;lt;valueSuffix&amp;gt;"&amp;lt;/valueSuffix&amp;gt;
      &amp;lt;delimiter&amp;gt; OR &amp;lt;/delimiter&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;date&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;date&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;sourcetype="SplunkNinjaDataSource" | stats count by date&amp;lt;/query&amp;gt;
       &amp;lt;earliest&amp;gt;-15d@h&amp;lt;/earliest&amp;gt;
       &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just add the token $DATE_tok$ into your search, and you're off to the races.  &lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 18:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192181#M12009</guid>
      <dc:creator>mnatkin_splunk</dc:creator>
      <dc:date>2016-12-21T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Picker in Simple XML</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192182#M12010</link>
      <description>&lt;P&gt;If you haven't seen it, &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Timesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Timesconf&lt;/A&gt; might be of use to you.&lt;/P&gt;

&lt;P&gt;On the other hand, you can create an input that defines a token you can use as the values for &lt;CODE&gt;earliest&lt;/CODE&gt; and &lt;CODE&gt;latest&lt;/CODE&gt; in the search string.&lt;/P&gt;

&lt;P&gt;If you provide more detail or an example of what you're trying to do, we can provide a more effectives solution/recommendation.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Date-Picker-in-Simple-XML/m-p/192182#M12010</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-12-22T14:09:47Z</dc:date>
    </item>
  </channel>
</rss>

