<?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 display data for every sunday of last 3 weeks in the given date and time range. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/598053#M208259</link>
    <description>&lt;P&gt;Thnaks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; it worked!!&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 08:34:38 GMT</pubDate>
    <dc:creator>srujana96</dc:creator>
    <dc:date>2022-05-17T08:34:38Z</dc:date>
    <item>
      <title>How to display data for every sunday of last 3 weeks in the given date and time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597372#M207976</link>
      <description>&lt;P&gt;Say suppose we have data for the below date and time range, i want to pick only sunday's date and display the last 3 weeks sundays data only. so basically, it should pick only the sunday's date from input data and display it in the output data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;input data&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output data(sunday date)&lt;/P&gt;
&lt;TABLE width="189px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-04-24 09:00:03&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-04-24 09:00:03&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-04-22 12:50:08&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-04-17 12:34:26&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-04-17 12:34:26&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-03-27 15:49:59&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-28 09:41:12&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-03-20 11:07:21&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-27 15:49:59&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;2022-03-20 11:07:21&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-25 15:31:18&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-25 15:00:32&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-25 14:45:03&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-20 13:28:54&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-20 11:07:21&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-10 16:11:32&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="74.8125px"&gt;2022-03-10 14:31:15&lt;/TD&gt;
&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="74.8125px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 11 May 2022 22:50:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597372#M207976</guid>
      <dc:creator>srujana96</dc:creator>
      <dc:date>2022-05-11T22:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data for every sunday of last 3 weeks in the given date and time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597375#M207978</link>
      <description>&lt;P&gt;Just render your timestamp into a format using a weekday only and compare it with your desired day of the week.&lt;/P&gt;&lt;PRE&gt;&amp;lt;your search&amp;gt;&lt;BR /&gt;| eval weekday=strftime(_time,"%w")&lt;BR /&gt;| where weekday=0&lt;/PRE&gt;&lt;P&gt;Since strftime gives you string you might filter on "0" as string instead of just plain nummerical zero in the last condition (haven't checked).&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 12:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597375#M207978</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-11T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data for every sunday of last 3 weeks in the given date and time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597377#M207979</link>
      <description>&lt;P&gt;Some date fields are automatically extracted - try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where date_wday="sunday"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 May 2022 12:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597377#M207979</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T12:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data for every sunday of last 3 weeks in the given date and time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597381#M207982</link>
      <description>&lt;P&gt;I don't trust those fields. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But seriously, they are extracted in index-time and are based on the initial timestamp. As far as I remember, you can have a discrepancy between the presented timestamp and the extracted timestamp-related fields if your user is at another timezone than the source/indexer. That part of time processing can be really confusing.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 12:18:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/597381#M207982</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-11T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data for every sunday of last 3 weeks in the given date and time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/598053#M208259</link>
      <description>&lt;P&gt;Thnaks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; it worked!!&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 08:34:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-data-for-every-sunday-of-last-3-weeks-in-the/m-p/598053#M208259</guid>
      <dc:creator>srujana96</dc:creator>
      <dc:date>2022-05-17T08:34:38Z</dc:date>
    </item>
  </channel>
</rss>

