<?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 do I exclude Mondays from a Timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568561#M198146</link>
    <description>&lt;P&gt;No, but with or without doesn't work&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 14:34:32 GMT</pubDate>
    <dc:creator>splunkuser2127</dc:creator>
    <dc:date>2021-09-27T14:34:32Z</dc:date>
    <item>
      <title>How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568412#M198086</link>
      <description>&lt;P&gt;There are no data on Mondays so my timecharts always dip to 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{search string} | eval date_wday=lower(strftime(_time,"%A")) | where NOT (date_wday=monday) | timechart span=1d count by ColName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to make the timechart skip Mondays (not just set it to 0)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:22:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568412#M198086</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-24T16:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568428#M198089</link>
      <description>&lt;P&gt;Try this way around&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{search string} | timechart span=1d count by ColName | eval date_wday=lower(strftime(_time,"%A")) | where NOT (date_wday=monday)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 24 Sep 2021 18:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568428#M198089</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-24T18:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568436#M198094</link>
      <description>&lt;P&gt;Same result, didn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 19:19:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568436#M198094</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-24T19:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568437#M198095</link>
      <description>&lt;LI-CODE lang="markup"&gt;{search string} | timechart span=1d count by ColName | eval date_wday=lower(strftime(_time,"%A")) | where NOT (date_wday=monday)
| rename _time as time
| fieldformat time=strftime(time,"%Y/%m/%d")&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 24 Sep 2021 19:27:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568437#M198095</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-24T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568440#M198098</link>
      <description>&lt;P&gt;Same result, it doesn't work. Mondays still show up as 0&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 19:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568440#M198098</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-24T19:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568449#M198105</link>
      <description>&lt;P&gt;Are you putting Monday in quotes?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 23:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568449#M198105</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-24T23:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568459#M198109</link>
      <description>&lt;P&gt;Depends on what you want to achieve.&lt;/P&gt;&lt;P&gt;Generally, it depends on your timerange. If you want to have data points: Wed, Thu, Fri,Sat,Sun,Tue,Wed and so on, without any "spaces" between sunday and tuesday, you can't do that with simple timechart. As the name implies, timechart does a chart over time so it doesn't mind your data as much as time progress.&lt;/P&gt;&lt;P&gt;You can try timecharting, then filtering out mondays, then doing a chart (not timechart) of remaining values. (can't provide you with a resulting search, I'm on my mobile and don't have access to my splunk installation ATM).&lt;/P&gt;&lt;P&gt;BTW, don't you think it will be confusing for the recipient of your report if you skip every monday (especially if you want do draw a line or barchart from the resulting data)?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2021 07:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568459#M198109</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-25T07:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568560#M198145</link>
      <description>&lt;P&gt;It doesn't seem to be working for me, I can't turn a timechart into a regular chart (at least not in the way that's useful for me)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568560#M198145</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-27T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568561#M198146</link>
      <description>&lt;P&gt;No, but with or without doesn't work&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:34:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568561#M198146</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-27T14:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568562#M198147</link>
      <description>&lt;P&gt;Can you share your search as it stands now?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568562#M198147</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-27T14:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568565#M198148</link>
      <description>&lt;P&gt;This is one attempt:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{search} | timechart span=1d count by ColName | eval date_wday=lower(strftime(_time,"%A")) | where NOT (date_wday=monday) | chart max(date_wday), count by ColName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is another:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{search} | bin span=1d _time | eval date_wday=lower(strftime(_time,"%A")) | where NOT (date_wday=monday) | chart count by ColName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This second one gives me a regular bar chart xaxis column name y axis count, not sure how to do a multiseries chart over time (without using timechart)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568565#M198148</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-27T14:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568567#M198150</link>
      <description>&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| rename _time as time
| fieldformat time=strftime(time,"%Y/%m/%d")&lt;/PRE&gt;&lt;P&gt;As I suggested earlier&lt;/P&gt;&lt;P&gt;_time is treated as a special fieldname by the chart viz and it fills in the gaps e.g. Monday, by renaming it, you avoid that issue.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:05:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568567#M198150</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-27T15:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I exclude Mondays from a Timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568573#M198155</link>
      <description>&lt;P&gt;I've tried it in your earlier suggestion, how do you want me to construct the search now?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 15:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-exclude-Mondays-from-a-Timechart/m-p/568573#M198155</guid>
      <dc:creator>splunkuser2127</dc:creator>
      <dc:date>2021-09-27T15:41:55Z</dc:date>
    </item>
  </channel>
</rss>

