<?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: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564434#M196624</link>
    <description>&lt;P&gt;sample queries for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;Compare a day of the week to the same day of the previous weeks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Aug 2021 22:12:41 GMT</pubDate>
    <dc:creator>MayankChandra</dc:creator>
    <dc:date>2021-08-23T22:12:41Z</dc:date>
    <item>
      <title>want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564429#M196622</link>
      <description>&lt;P&gt;Need help :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a splunk query where i want to evaluate today (day of week) using now() and then use it to compare data for past 4 weeks for same day of week. if today is MOnday, i want to compare data for past 4 mondays with today.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 21:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564429#M196622</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T21:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564430#M196623</link>
      <description>&lt;P&gt;Can someone provide some examples?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 21:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564430#M196623</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T21:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564434#M196624</link>
      <description>&lt;P&gt;sample queries for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mw-headline"&gt;Compare a day of the week to the same day of the previous weeks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 22:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564434#M196624</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T22:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564441#M196625</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval dow=strftime(now(),"%w")
| eval eventdow=strftime(_time,"%w")
| where dow=eventdow&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Aug 2021 22:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564441#M196625</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-23T22:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564442#M196626</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;Thanks a ton!!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 22:43:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564442#M196626</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T22:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564444#M196628</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;One more question. If i want to evaluate yesterday and then perform the comparisons with same day of week (which yesterday evaluates to) with previous weeks what would be the query?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 22:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564444#M196628</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T22:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564446#M196630</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For yesterday or a day before the current day would the below be correct?&lt;/P&gt;&lt;P&gt;| eval yesterday = strftime(relative_time(now(), "-1d@d"), "%w")| eval eventdow=strftime(_time,"%w")| where yesterday=eventdow&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 23:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564446#M196630</guid>
      <dc:creator>MayankChandra</dc:creator>
      <dc:date>2021-08-23T23:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: want the current day of the week with now() then i want to use value to compare data for past 4 weeks for same DOW</title>
      <link>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564481#M196640</link>
      <description>&lt;P&gt;Yes, that would be correct&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 08:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/want-the-current-day-of-the-week-with-now-then-i-want-to-use/m-p/564481#M196640</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-24T08:13:28Z</dc:date>
    </item>
  </channel>
</rss>

