<?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: Only show every 7th day in timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Only-show-every-7th-day-in-timechart/m-p/113073#M29707</link>
    <description>&lt;P&gt;With timewrap, I think you want &lt;CODE&gt;timewrap w&lt;/CODE&gt; not &lt;CODE&gt;d&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;You could also do this manually. Here is another way&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="mysql_uc_orders" earliest=-7d@d latest=now 
| bucket span=1m _time 
| timechart count span=30m
| eval today=strftime(now(),"%A")
| eval dayOfWeek = strftime(_time,"%A")
| where dayOfWeek == today
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 05 Sep 2014 20:07:55 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-09-05T20:07:55Z</dc:date>
    <item>
      <title>Only show every 7th day in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-every-7th-day-in-timechart/m-p/113072#M29706</link>
      <description>&lt;P&gt;Currently I have the following -&lt;/P&gt;

&lt;P&gt;index="mysql_uc_orders" earliest=-7d@d latest=now | bucket span=1m _time |  timechart count span=30m | timewrap d&lt;/P&gt;

&lt;P&gt;This works fine as it shows the latest day and the 7th day but it also shows 1day, 2days, 3days etc.&lt;/P&gt;

&lt;P&gt;I'd like to only show the latest day and the 7 days before (I.e. week over week on a specific day).&lt;/P&gt;

&lt;P&gt;Does anyone know what filter I need to use?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:30:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-every-7th-day-in-timechart/m-p/113072#M29706</guid>
      <dc:creator>akhan8928</dc:creator>
      <dc:date>2020-09-28T17:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Only show every 7th day in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-every-7th-day-in-timechart/m-p/113073#M29707</link>
      <description>&lt;P&gt;With timewrap, I think you want &lt;CODE&gt;timewrap w&lt;/CODE&gt; not &lt;CODE&gt;d&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;You could also do this manually. Here is another way&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="mysql_uc_orders" earliest=-7d@d latest=now 
| bucket span=1m _time 
| timechart count span=30m
| eval today=strftime(now(),"%A")
| eval dayOfWeek = strftime(_time,"%A")
| where dayOfWeek == today
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-every-7th-day-in-timechart/m-p/113073#M29707</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-09-05T20:07:55Z</dc:date>
    </item>
  </channel>
</rss>

