<?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 Data visualization over the day (by hours) in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515704#M34496</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I know it sound pretty easy, but I am stuck with a dashboard which splits the events by hours of the day, to see for example the amount of events on every hours (from 00h to 23h)&lt;/P&gt;&lt;P&gt;My request is like that:&lt;/P&gt;&lt;P&gt;index=_internal | convert timeformat="%H" ctime(_time) AS Hour | stats count by Hour | sort Hour | rename count as "SENT"&lt;/P&gt;&lt;P&gt;Only problem with the request is that I am missing zero entries in the histogram, and I wanted to have always the 24 hours displayed (even with zero results).&lt;/P&gt;&lt;P&gt;Any way to do this ?&lt;/P&gt;&lt;P&gt;Hope it will help others&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 07:26:49 GMT</pubDate>
    <dc:creator>sweiland</dc:creator>
    <dc:date>2020-08-24T07:26:49Z</dc:date>
    <item>
      <title>Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515704#M34496</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I know it sound pretty easy, but I am stuck with a dashboard which splits the events by hours of the day, to see for example the amount of events on every hours (from 00h to 23h)&lt;/P&gt;&lt;P&gt;My request is like that:&lt;/P&gt;&lt;P&gt;index=_internal | convert timeformat="%H" ctime(_time) AS Hour | stats count by Hour | sort Hour | rename count as "SENT"&lt;/P&gt;&lt;P&gt;Only problem with the request is that I am missing zero entries in the histogram, and I wanted to have always the 24 hours displayed (even with zero results).&lt;/P&gt;&lt;P&gt;Any way to do this ?&lt;/P&gt;&lt;P&gt;Hope it will help others&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 07:26:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515704#M34496</guid>
      <dc:creator>sweiland</dc:creator>
      <dc:date>2020-08-24T07:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515707#M34498</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222813"&gt;@sweiland&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you explored the timechart command (&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/Timechart" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/Timechart&lt;/A&gt;)?&lt;/P&gt;&lt;P&gt;You could try something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal 
| timechart span=1h count AS "SENT"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 07:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515707#M34498</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-24T07:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515709#M34499</link>
      <description>&lt;P&gt;Idea is to have the timespan 1h but only for one day&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Data from 1 complete month, but splitted for every hour (the timechart is not a "group by hours")&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 07:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515709#M34499</guid>
      <dc:creator>sweiland</dc:creator>
      <dc:date>2020-08-24T07:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515710#M34500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222813"&gt;@sweiland&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The timechart as recommended by &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;helps to create a row for each hour of the day. It will add a row even if there are no values for an hour.&lt;BR /&gt;&lt;BR /&gt;In addition, this will split/sumup by Hour, does not matter how many days the search timeframe is:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal 
| timechart span=1h count
| eval Hour = strftime(_time,"%H") 
| chart sum(count) as count by Hour&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;BR /&gt;--&lt;BR /&gt;&lt;EM&gt;Karma and/or Solution tagging appreciated.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515710#M34500</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-08-24T08:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515711#M34501</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222813"&gt;@sweiland&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want the span of 1 hour for the full month, timechart span=1h is correct&lt;/P&gt;&lt;P&gt;if instead you want two&amp;nbsp; different spans,it isn't possible in one panel.&lt;/P&gt;&lt;P&gt;you could have two panels: one for the last day (with span=1h) and one for the full month (span=1d),&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515711#M34501</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-24T08:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Data visualization over the day (by hours)</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515721#M34502</link>
      <description>&lt;P&gt;Works indeed perfectly, thanks to both of you&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Data-visualization-over-the-day-by-hours/m-p/515721#M34502</guid>
      <dc:creator>sweiland</dc:creator>
      <dc:date>2020-08-24T08:37:34Z</dc:date>
    </item>
  </channel>
</rss>

