<?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 Change X Axis Display to Week Instead of Day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445445#M126350</link>
    <description>&lt;P&gt;I have the x axis of my search displaying by week however I do not want this format:&lt;BR /&gt;
Apr 23&lt;BR /&gt;
Apr 30 &lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;I have my chart showing the monthly results and I am trying to achieve something similar to:&lt;BR /&gt;
Week 1&lt;BR /&gt;
Week 2&lt;BR /&gt;
Week 3&lt;BR /&gt;
Week 4&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2018 13:44:46 GMT</pubDate>
    <dc:creator>link22</dc:creator>
    <dc:date>2018-06-13T13:44:46Z</dc:date>
    <item>
      <title>Change X Axis Display to Week Instead of Day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445445#M126350</link>
      <description>&lt;P&gt;I have the x axis of my search displaying by week however I do not want this format:&lt;BR /&gt;
Apr 23&lt;BR /&gt;
Apr 30 &lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;I have my chart showing the monthly results and I am trying to achieve something similar to:&lt;BR /&gt;
Week 1&lt;BR /&gt;
Week 2&lt;BR /&gt;
Week 3&lt;BR /&gt;
Week 4&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445445#M126350</guid>
      <dc:creator>link22</dc:creator>
      <dc:date>2018-06-13T13:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change X Axis Display to Week Instead of Day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445446#M126351</link>
      <description>&lt;P&gt;Have you tried this out?&lt;BR /&gt;
    &lt;YOUR search=""&gt;|eval weeknumber=strftime(_time,"%U") | stats count by weeknumber&lt;/YOUR&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445446#M126351</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-15T11:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change X Axis Display to Week Instead of Day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445447#M126352</link>
      <description>&lt;P&gt;Thank you! With a little tweaking, that worked.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 12:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445447#M126352</guid>
      <dc:creator>link22</dc:creator>
      <dc:date>2018-06-19T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change X Axis Display to Week Instead of Day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445448#M126353</link>
      <description>&lt;P&gt;For anyone in the future who may want to do something similar, here is the search string I used:&lt;BR /&gt;
....... | eval week=strftime(relative_time(_time,"@w1"), "%Y-%m-%d") | stats count by week | streamstats count as weeknum | eval week="Week ".weeknum | fields - weeknum&lt;/P&gt;

&lt;P&gt;I had my search time range locked to a month, which worked the nicest (4 weeks in a month).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-X-Axis-Display-to-Week-Instead-of-Day/m-p/445448#M126353</guid>
      <dc:creator>link22</dc:creator>
      <dc:date>2020-09-29T20:05:39Z</dc:date>
    </item>
  </channel>
</rss>

