<?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: How to plot based on customized time picker for Splunk dashboards in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444230#M29263</link>
    <description>&lt;P&gt;@himanshu_idt right approach would be to fix the time while indexing data so that it pics time from &lt;CODE&gt;Time&lt;/CODE&gt; field in your data rather than setting it as indexed time (current time). Refer to Splunk docs for setting up props.conf for correct timestamp recognition: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However, there would be an alternate approach to set a token for filtering &lt;CODE&gt;Time&lt;/CODE&gt; values using string time based on timepicker selection using an independent search. Refer to one of my older answers as to how we can set string time token of specific format using this approach: &lt;A href="https://answers.splunk.com/answers/578984/running-one-of-two-searches-based-on-time-picker-s.html"&gt;https://answers.splunk.com/answers/578984/running-one-of-two-searches-based-on-time-picker-s.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jun 2019 18:47:00 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-06-29T18:47:00Z</dc:date>
    <item>
      <title>How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444227#M29260</link>
      <description>&lt;P&gt;I have one column in search name &lt;STRONG&gt;timerange&lt;/STRONG&gt; which shows time at with that event happened. I want to plot the graph (timechart) but on the dashboard, I want to use time picker which queries the time from my &lt;STRONG&gt;timerange&lt;/STRONG&gt; column.&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7254iC794ACA5332B371E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So, When I wrote the Splunk search query to get the data from the indexes.&lt;BR /&gt;
I get the following results&lt;BR /&gt;
   _time(time at which vales got index),Total,Stable,Time(time at which the event happened)&lt;BR /&gt;
1.  2019-06-25 23:56 , 100,100,2019-06-05 05:07&lt;BR /&gt;
2.  2019-06-25 23:56,500,500,2019-06-05 05:08&lt;BR /&gt;
3.  2019-06-25 23:56,550,570,2019-06-05 05:09(for every minute)&lt;BR /&gt;
10000+ entries&lt;BR /&gt;
_time column has the same values.&lt;BR /&gt;
if I use the above search query to create a dashboard and in time picker if I select data between 2019-06-05 - 2019-06-06 there are not values to plot. But if I select data 2019-06-25 - 2019-06-26 it shows that event.&lt;/P&gt;

&lt;P&gt;So basically I want to map my time picker to the time values at which event happened not the time at which values got indexed.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444227#M29260</guid>
      <dc:creator>himanshu_idt</dc:creator>
      <dc:date>2019-06-27T19:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444228#M29261</link>
      <description>&lt;P&gt;@himanshu_idt you would need to add more details for the community to assist you better. Do you Time displayed in table which you want to use for drilldown? Please add example of what you currently have and what is your use case.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 18:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444228#M29261</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-29T18:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444229#M29262</link>
      <description>&lt;P&gt;@niketnilay I have added more details.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 18:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444229#M29262</guid>
      <dc:creator>himanshu_idt</dc:creator>
      <dc:date>2019-06-29T18:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444230#M29263</link>
      <description>&lt;P&gt;@himanshu_idt right approach would be to fix the time while indexing data so that it pics time from &lt;CODE&gt;Time&lt;/CODE&gt; field in your data rather than setting it as indexed time (current time). Refer to Splunk docs for setting up props.conf for correct timestamp recognition: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However, there would be an alternate approach to set a token for filtering &lt;CODE&gt;Time&lt;/CODE&gt; values using string time based on timepicker selection using an independent search. Refer to one of my older answers as to how we can set string time token of specific format using this approach: &lt;A href="https://answers.splunk.com/answers/578984/running-one-of-two-searches-based-on-time-picker-s.html"&gt;https://answers.splunk.com/answers/578984/running-one-of-two-searches-based-on-time-picker-s.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 18:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444230#M29263</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-29T18:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444231#M29264</link>
      <description>&lt;P&gt;The right thing to do is to fix &lt;CODE&gt;_time&lt;/CODE&gt;.  In other words, do your time-extraction correctly.  It appears that you have a lazy Splunk admin and he used &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; for your &lt;CODE&gt;sourcetype&lt;/CODE&gt;.  Have him go back and do his job right.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 16:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444231#M29264</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-01T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444232#M29265</link>
      <description>&lt;P&gt;Haha @woodcock  , Thank you @niketnilay and @woodcock for your comments.&lt;BR /&gt;
 I solved it by doing search queries my Time column. Take the input from time token in time picker and converted the earliest and latest field into seconds/epochs and ran the search based on epochs.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7253i89B1EF7A57E11F02/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 16:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444232#M29265</guid>
      <dc:creator>himanshu_idt</dc:creator>
      <dc:date>2019-07-01T16:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444233#M29266</link>
      <description>&lt;P&gt;Be sure to click &lt;CODE&gt;Accept&lt;/CODE&gt; on your answer!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 17:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444233#M29266</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-01T17:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot based on customized time picker for Splunk dashboards</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444234#M29267</link>
      <description>&lt;P&gt;@himanshu_idt yes this was one of the options proposed in the answer link I had posted below. If that answer has helped do upvote for it to be helpful for others facing this issue.&lt;/P&gt;

&lt;P&gt;Do also read the thread as &lt;STRONG&gt;All Time&lt;/STRONG&gt; time picker selection needs additional attention &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 15:08:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-plot-based-on-customized-time-picker-for-Splunk/m-p/444234#M29267</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-07-02T15:08:51Z</dc:date>
    </item>
  </channel>
</rss>

