<?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: Bucket not bucketing Z after calling chart X over Y by Z in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159783#M45107</link>
    <description>&lt;P&gt;Try this (the last &lt;CODE&gt;time&lt;/CODE&gt; should be &lt;CODE&gt;_time&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; search sourcetype="Beta" Account_Name=Alpha|eval time=strftime(_time, "%H:%M:%S")|bucket time span=10m|chart count over New_Process by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 17 Jun 2015 17:44:05 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-17T17:44:05Z</dc:date>
    <item>
      <title>Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159782#M45106</link>
      <description>&lt;P&gt;I am trying to get the output to look like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Process Name | 10:00:00 | 10:10:00| 10:20:00...etc
_________________________________________________
C:\          |    0       |    3       |     1
C:\          |    1       |   2        |     0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My Search currently looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search sourcetype="Beta" Account_Name=Alpha|eval time=strftime(_time, "%H:%M:%S")|bucket time span=10m|chart count over New_Process by time 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It instead outputs&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Process Name | 10:00:01 | 10:00:02| 10:00:03...etc
    _________________________________________________
    C:\          |    0       |    3       |     1
    C:\          |    1       |   2        |     0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any idea how to fix this? or what may be wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 17:10:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159782#M45106</guid>
      <dc:creator>kkas</dc:creator>
      <dc:date>2015-06-17T17:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159783#M45107</link>
      <description>&lt;P&gt;Try this (the last &lt;CODE&gt;time&lt;/CODE&gt; should be &lt;CODE&gt;_time&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; search sourcetype="Beta" Account_Name=Alpha|eval time=strftime(_time, "%H:%M:%S")|bucket time span=10m|chart count over New_Process by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jun 2015 17:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159783#M45107</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T17:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159784#M45108</link>
      <description>&lt;P&gt;You can't bucket a string into ten-minute segments, so you will need to reorder your query like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sourcetype="Beta" Account_Name=Alpha | bucket _time span=10m |eval time=strftime(_time, "%H:%M:%S") | chart count over New_Process by time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will apply the bucketing while the timestamp still is a timestamp, and then turn it into a string you want for neat displaying.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:14:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159784#M45108</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-06-17T18:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159785#M45109</link>
      <description>&lt;P&gt;That doesn't use the bucketed value at all in the &lt;CODE&gt;chart&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:14:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159785#M45109</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-06-17T18:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159786#M45110</link>
      <description>&lt;P&gt;You are correct, there was a typo and some extra stuff. it is fixed now; please retry:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  sourcetype="Beta" Account_Name=Alpha|bucket _time span=10m|chart count over New_Process by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159786#M45110</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T18:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159787#M45111</link>
      <description>&lt;P&gt;I had tried switching in and out _time for time but it doesn't change the layout like im looking for. only changes between the evaluated format and the original time format&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:22:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159787#M45111</guid>
      <dc:creator>kkas</dc:creator>
      <dc:date>2015-06-17T18:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159788#M45112</link>
      <description>&lt;P&gt;Thanks!!! this worked! &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:34:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159788#M45112</guid>
      <dc:creator>kkas</dc:creator>
      <dc:date>2015-06-17T18:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket not bucketing Z after calling chart X over Y by Z</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159789#M45113</link>
      <description>&lt;P&gt;Thanks for your input!&lt;BR /&gt;
I'm not sure if it works because I don't know how to read the mumbo jumbo time it spits out but I get the same table format as the question stated except the time slots are displayed as follows:&lt;BR /&gt;
1434553200|1434554400|1434555000|1434555600...etc&lt;/P&gt;

&lt;P&gt;I'm not sure if those translate to time 10 minutes apart, but I thought I would let you know what happened for both of our education &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
I tried Martin's approach and it worked, but I still appreciate your input as always woodcock!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bucket-not-bucketing-Z-after-calling-chart-X-over-Y-by-Z/m-p/159789#M45113</guid>
      <dc:creator>kkas</dc:creator>
      <dc:date>2015-06-17T18:43:34Z</dc:date>
    </item>
  </channel>
</rss>

