<?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: Display 2 weeks data based on end data column in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393696#M41445</link>
    <description>&lt;P&gt;By mentioning next week, hope you meant previous week. Can you just print Format_Date and relative_time(now(), "-2w@w") and paste the result for few rows or just manually compare one or two rows to see if it works&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:04:46 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2020-09-29T20:04:46Z</dc:date>
    <item>
      <title>Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393690#M41439</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;Need your help &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;| inputlookup yar_list | table Name End_date Ticket hostname  | sort End_date&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I want to display only records which falls under current week &amp;amp; Next week ( 2 weeks data ) based on End_data column. &lt;/P&gt;

&lt;P&gt;Can you pls help on this.&lt;/P&gt;

&lt;P&gt;Thanks &lt;BR /&gt;
HR&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393690#M41439</guid>
      <dc:creator>harsush</dc:creator>
      <dc:date>2020-09-29T20:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393691#M41440</link>
      <description>&lt;P&gt;Sample data&lt;/P&gt;

&lt;P&gt;End_date Ticket hostname&lt;BR /&gt;
2018/06/12 23:59:59 INC00001 xyz.com&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jun 2018 03:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393691#M41440</guid>
      <dc:creator>harsush</dc:creator>
      <dc:date>2018-06-16T03:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393692#M41441</link>
      <description>&lt;P&gt;Hi  @harsush,&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup yar_list | table Name End_date Ticket hostname|eval End_date=strptime(End_date,"%Y/%m/%d %H:%M:%S") | sort End_date|where End_date &amp;gt;= relative_time(now(), "-2w@w")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Jun 2018 04:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393692#M41441</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-06-16T04:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393693#M41442</link>
      <description>&lt;P&gt;Sorry actually i tried this - But the problem is End_date is not splunk field, &lt;/P&gt;

&lt;P&gt;| inputlookup yar_list | eval Format_Date=strptime(End_date,"%m/%d/%Y %H:%M:%S.%3N") | table Name Format_Date End_date Ticket hostname  | sort End_date&lt;/P&gt;

&lt;P&gt;Format_Date displays empty/ I  think we should convert this field ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:04:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393693#M41442</guid>
      <dc:creator>harsush</dc:creator>
      <dc:date>2020-09-29T20:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393694#M41443</link>
      <description>&lt;P&gt;Hi @harsush,&lt;/P&gt;

&lt;P&gt;Alright. Updated the answer with conversion also. Try and let me know&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jun 2018 09:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393694#M41443</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-06-16T09:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393695#M41444</link>
      <description>&lt;P&gt;for some reason its displaying all dates.&lt;BR /&gt;
If iam running search  today it should show only records form this week &amp;amp; Next week.&lt;/P&gt;

&lt;P&gt;Can you pls help on this&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 05:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393695#M41444</guid>
      <dc:creator>harsush</dc:creator>
      <dc:date>2018-06-18T05:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display 2 weeks data based on end data column</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393696#M41445</link>
      <description>&lt;P&gt;By mentioning next week, hope you meant previous week. Can you just print Format_Date and relative_time(now(), "-2w@w") and paste the result for few rows or just manually compare one or two rows to see if it works&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Display-2-weeks-data-based-on-end-data-column/m-p/393696#M41445</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-09-29T20:04:46Z</dc:date>
    </item>
  </channel>
</rss>

