<?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 Splunk chart for time interval in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479835#M134476</link>
    <description>&lt;P&gt;HI ,&lt;/P&gt;

&lt;P&gt;I am trying to get the number of hits of users for very 3 minutes .&lt;/P&gt;

&lt;P&gt;And am able to generate the chart with below command.&lt;/P&gt;

&lt;P&gt;index=jira source="/opt/access_log.2020-04-23"  host="xyz |  bucket _time span=3m  | chart count over user by _time&lt;/P&gt;

&lt;P&gt;This generated the table but when viewing the events the events are showing only for a particular time and not time span.&lt;/P&gt;

&lt;P&gt;eg:Its showing events for 12:00 but i need 12:00 to 12:03?&lt;/P&gt;

&lt;P&gt;Can anyone tell what am i doing wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 13:03:04 GMT</pubDate>
    <dc:creator>aditya22</dc:creator>
    <dc:date>2020-04-23T13:03:04Z</dc:date>
    <item>
      <title>Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479835#M134476</link>
      <description>&lt;P&gt;HI ,&lt;/P&gt;

&lt;P&gt;I am trying to get the number of hits of users for very 3 minutes .&lt;/P&gt;

&lt;P&gt;And am able to generate the chart with below command.&lt;/P&gt;

&lt;P&gt;index=jira source="/opt/access_log.2020-04-23"  host="xyz |  bucket _time span=3m  | chart count over user by _time&lt;/P&gt;

&lt;P&gt;This generated the table but when viewing the events the events are showing only for a particular time and not time span.&lt;/P&gt;

&lt;P&gt;eg:Its showing events for 12:00 but i need 12:00 to 12:03?&lt;/P&gt;

&lt;P&gt;Can anyone tell what am i doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 13:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479835#M134476</guid>
      <dc:creator>aditya22</dc:creator>
      <dc:date>2020-04-23T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479836#M134477</link>
      <description>&lt;P&gt;The &lt;CODE&gt;bucket&lt;/CODE&gt; command "rounds off" the time to the start of the interval.  You'll see events for 12:00, 12:03, 12:06, etc. rather than 12:00, 12:01, 12:02 and so on.&lt;/P&gt;

&lt;P&gt;You can try &lt;CODE&gt;timechart&lt;/CODE&gt;, but you'll likely get the same results.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=jira source="/opt/access_log.2020-04-23" host="xyz" | timechart span=3m count by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Apr 2020 13:21:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479836#M134477</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-23T13:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479837#M134478</link>
      <description>&lt;P&gt;Thanks much for the response.&lt;/P&gt;

&lt;P&gt;index=jira source="/opt/access_log.2020-04-23" host="xyz | bucket _time span=3m | chart count over user by _time&lt;/P&gt;

&lt;P&gt;But getting error.&lt;/P&gt;

&lt;P&gt;Error in 'timechart' command: You must specify data field(s) to chart.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 13:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479837#M134478</guid>
      <dc:creator>aditya22</dc:creator>
      <dc:date>2020-04-23T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479838#M134479</link>
      <description>&lt;P&gt;The error doesn't match the query.  There is no &lt;CODE&gt;timechart&lt;/CODE&gt; command in the query.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 14:14:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479838#M134479</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-23T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479839#M134480</link>
      <description>&lt;P&gt;oh sorry missed that.&lt;/P&gt;

&lt;P&gt;This was the query.&lt;/P&gt;

&lt;P&gt;index=jira source="/opt/access_log.2020-04-23" host="xyz  |  timechart span=3m  | chart count over user by _time&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 15:22:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479839#M134480</guid>
      <dc:creator>aditya22</dc:creator>
      <dc:date>2020-04-23T15:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk chart for time interval</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479840#M134481</link>
      <description>&lt;P&gt;Please look closely at my answer.  &lt;CODE&gt;bucket&lt;/CODE&gt; and &lt;CODE&gt;chart&lt;/CODE&gt; are replaced by &lt;CODE&gt;timechart&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 17:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-chart-for-time-interval/m-p/479840#M134481</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-23T17:06:00Z</dc:date>
    </item>
  </channel>
</rss>

