<?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 can you restrict timechart to display only weekdays? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20367#M3164</link>
    <description>&lt;P&gt;example (mon-fri)&lt;BR /&gt;
index=cisco_esa (date_wday=monday OR date_wday=tuesday OR date_wday=wednesday OR date_wday=thursday OR date_wday=friday)&lt;/P&gt;

&lt;P&gt;index=cisco_esa (date_wday!=saturday AND date_wday!=sunday)&lt;/P&gt;

&lt;P&gt;example (sat and sun only)&lt;BR /&gt;
index=cisco_esa (date_wday!=monday AND date_wday!=tuesday AND date_wday!=wednesday AND date_wday!=thursday AND date_wday!=friday)&lt;/P&gt;

&lt;P&gt;index=cisco_esa (date_wday=saturday OR date_wday=sunday)&lt;/P&gt;

&lt;P&gt;then pipe as needed.&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/User/UseDefaultAndInternalFields"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/User/UseDefaultAndInternalFields&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2012 18:20:40 GMT</pubDate>
    <dc:creator>cvajs</dc:creator>
    <dc:date>2012-04-05T18:20:40Z</dc:date>
    <item>
      <title>How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20365#M3162</link>
      <description>&lt;P&gt;I know how to exclude certain days from your search results: &lt;A href="http://splunk-base.splunk.com/answers/1367/how-do-you-exclude-certain-days-from-a-time-range"&gt;http://splunk-base.splunk.com/answers/1367/how-do-you-exclude-certain-days-from-a-time-range&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But if you then pipe these results through timechart, the time line covers all days, and you just have gaps where the weekdays fall.&lt;/P&gt;

&lt;P&gt;We have this requirement as we need to report on daily averages over time, but the values on weekends are skewed as the number of samples drops significantly. It appears that there are spikes in the data which misleads the user.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 16:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20365#M3162</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-05T16:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20366#M3163</link>
      <description>&lt;P&gt;Would a logarithmic scale make sense, so that the spikes are less pronounced?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 18:19:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20366#M3163</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-04-05T18:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20367#M3164</link>
      <description>&lt;P&gt;example (mon-fri)&lt;BR /&gt;
index=cisco_esa (date_wday=monday OR date_wday=tuesday OR date_wday=wednesday OR date_wday=thursday OR date_wday=friday)&lt;/P&gt;

&lt;P&gt;index=cisco_esa (date_wday!=saturday AND date_wday!=sunday)&lt;/P&gt;

&lt;P&gt;example (sat and sun only)&lt;BR /&gt;
index=cisco_esa (date_wday!=monday AND date_wday!=tuesday AND date_wday!=wednesday AND date_wday!=thursday AND date_wday!=friday)&lt;/P&gt;

&lt;P&gt;index=cisco_esa (date_wday=saturday OR date_wday=sunday)&lt;/P&gt;

&lt;P&gt;then pipe as needed.&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/User/UseDefaultAndInternalFields"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/User/UseDefaultAndInternalFields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 18:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20367#M3164</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-04-05T18:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20368#M3165</link>
      <description>&lt;P&gt;ok, misread the question, but the again, not really sure what the question is. timechart will chart the data from the search and if a day has no data then that day avg will be zero. i believe the timechart will have a timeline of whatever your search was, so if you say only sat and sun over last 3 weeks then timechart will show 3 weeks with only data on sat and sun, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 18:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20368#M3165</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-04-05T18:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20369#M3166</link>
      <description>&lt;P&gt;Hi, thanks for your attempt. But unfortunately (at least when I view it in the report builder) timechart does not behave as you believe in 4.3.1 - it draws a chart containing the entire time span, and the weekend days which I have excluded have no data, ie. gaps/breaks in the lines. This looks a bit stupid.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 00:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20369#M3166</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2012-04-06T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can you restrict timechart to display only weekdays?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20370#M3167</link>
      <description>&lt;P&gt;then create separate charts (views) for only the timeframes that contain the successive days this way the chart(s) wont have breaks, etc. i dunno if you can tell stats timechart or chart to skip time.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 02:54:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-you-restrict-timechart-to-display-only-weekdays/m-p/20370#M3167</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-04-06T02:54:23Z</dc:date>
    </item>
  </channel>
</rss>

