<?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: Filtering the results in Dashboard from InputLookup Depend Upon Time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470166#M132299</link>
    <description>&lt;P&gt;Thanks Rich, I overlooked the syntax. Problem is with my where clause. I used logic wrongly and it is not matching filter condition. After correcting my logic, results started to display correctly for first method.&lt;/P&gt;

&lt;P&gt;Thanks for your help once again.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 03:31:26 GMT</pubDate>
    <dc:creator>cchange</dc:creator>
    <dc:date>2020-04-09T03:31:26Z</dc:date>
    <item>
      <title>Filtering the results in Dashboard from InputLookup Depend Upon Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470164#M132297</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to filter the results of the lookup depend upon the time selection from the dashboard. I have date field in the lookup. Below is the sample of the lookup.&lt;/P&gt;

&lt;P&gt;ReportedAt Id status&lt;BR /&gt;
2020-04-09 5:00:00 567 Pass&lt;/P&gt;

&lt;P&gt;I'm trying with below logics but it is not working.&lt;/P&gt;

&lt;P&gt;|inputlookup file.csv&lt;BR /&gt;
  |eval timeep = strptime('ReportedAt', "%Y-%m-%d %H:%S") &lt;BR /&gt;
| addinfo&lt;BR /&gt;
| where timeep &amp;gt; info_max_time and timeep &amp;lt; info_min_time&lt;/P&gt;

&lt;P&gt;====&lt;BR /&gt;
inputlookup file.csv | where Reportedat &amp;gt; $t1.earliest$ and Reportedat &amp;lt; $t1.latest$ &lt;/P&gt;

&lt;P&gt;Can you please let me know is there a way to display the results depend upon time selection in the dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470164#M132297</guid>
      <dc:creator>cchange</dc:creator>
      <dc:date>2020-09-30T04:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering the results in Dashboard from InputLookup Depend Upon Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470165#M132298</link>
      <description>&lt;P&gt;The first method should work, except the &lt;CODE&gt;strptime&lt;/CODE&gt; format string is incorrect.  Try &lt;CODE&gt;|eval timeep = strptime('ReportedAt', "%Y-%m-%d %H:%M:%S")&lt;/CODE&gt;.&lt;BR /&gt;
The second method won't work because Splunk can't compare dates in string format.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 19:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470165#M132298</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-08T19:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering the results in Dashboard from InputLookup Depend Upon Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470166#M132299</link>
      <description>&lt;P&gt;Thanks Rich, I overlooked the syntax. Problem is with my where clause. I used logic wrongly and it is not matching filter condition. After correcting my logic, results started to display correctly for first method.&lt;/P&gt;

&lt;P&gt;Thanks for your help once again.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 03:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-the-results-in-Dashboard-from-InputLookup-Depend-Upon/m-p/470166#M132299</guid>
      <dc:creator>cchange</dc:creator>
      <dc:date>2020-04-09T03:31:26Z</dc:date>
    </item>
  </channel>
</rss>

