<?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 How to get event count hourly the last 7 days graph each day need to display different line ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347741#M102973</link>
    <description>&lt;P&gt;one particular system event count hourly the last 7 days graph each day need to display different line &lt;/P&gt;

&lt;P&gt;X - axis -- 0 - 24 hours&lt;/P&gt;

&lt;P&gt;Y Axis - event count&lt;/P&gt;

&lt;P&gt;Also is it possiable to trigger alert  if any deviation &lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2018 15:29:20 GMT</pubDate>
    <dc:creator>kumar22</dc:creator>
    <dc:date>2018-01-29T15:29:20Z</dc:date>
    <item>
      <title>How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347741#M102973</link>
      <description>&lt;P&gt;one particular system event count hourly the last 7 days graph each day need to display different line &lt;/P&gt;

&lt;P&gt;X - axis -- 0 - 24 hours&lt;/P&gt;

&lt;P&gt;Y Axis - event count&lt;/P&gt;

&lt;P&gt;Also is it possiable to trigger alert  if any deviation &lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347741#M102973</guid>
      <dc:creator>kumar22</dc:creator>
      <dc:date>2018-01-29T15:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347742#M102974</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;For the first part, you can use the timewrap function, see &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/SearchReference/Timewrap"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.3/SearchReference/Timewrap&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=your_index earliest=-7d@d latest=@d 
| timechart span=1h count 
| timewrap 1d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;

&lt;P&gt;Philip&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347742#M102974</guid>
      <dc:creator>philipmattocks</dc:creator>
      <dc:date>2018-01-29T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347743#M102975</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search
| eval Day=strftime(_time,"%Y-%m-%d") | eval Hour=strftime(_time,"%H:00")
| chart count over Hour by Day
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347743#M102975</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-29T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347744#M102976</link>
      <description>&lt;P&gt;Thank you, Philip, &lt;/P&gt;

&lt;P&gt;It's working fine. I have some more doubt in the graph.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;In the graph sheet, we are getting  7 separate graphs with individual y-Axis. Is it possible to have consolidated graph for a week?&lt;/LI&gt;
&lt;LI&gt;Is it possible to customize field name - "NULL_6days_ago" as "6days_ago" ?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:55:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347744#M102976</guid>
      <dc:creator>kumar22</dc:creator>
      <dc:date>2020-09-29T17:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347745#M102977</link>
      <description>&lt;OL&gt;
&lt;LI&gt; Do you have the multi-series mode enabled in your visualisation?  If so, when you disable it, the graphs should be combined onto a single y-axis.   The same goes for if you have trellis mode enabled.&lt;/LI&gt;
&lt;LI&gt;I'm not sure if you can change what these fields are called...what is the query you're using?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347745#M102977</guid>
      <dc:creator>philipmattocks</dc:creator>
      <dc:date>2018-01-30T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get event count hourly the last 7 days graph each day need to display different line ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347746#M102978</link>
      <description>&lt;P&gt;What do you mean by consolidated graph for a week? In you question you had asked for last 7 days graph with different lines.&lt;/P&gt;

&lt;P&gt;For second query, you can try the following.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rename "NULL_*" as *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For finding deviations you would need to add more historic data and possibly use Machine Learning Toolkit for finding suitable algorithm for outlier.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:15:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-event-count-hourly-the-last-7-days-graph-each-day/m-p/347746#M102978</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-01-30T14:15:24Z</dc:date>
    </item>
  </channel>
</rss>

