<?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 do I group time values together by another field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286918#M86850</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | bin span=1d _time | stats values(_time) as Time sum(count) count by IP | table Time count IP 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 04 Jun 2016 03:46:54 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-06-04T03:46:54Z</dc:date>
    <item>
      <title>How do I group time values together by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286917#M86849</link>
      <description>&lt;P&gt;I'm trying to get my table to group events by Source IP. The search counts the number web traffic hits by Source IP and groups them into 1 hour time frame. I want to then have each Source IP as a single event and also show all the hour time spans that that IP was seen. &lt;/P&gt;

&lt;P&gt;Current:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Time               Count   IP             
2016-06-02 14:00   3500    1.1.1.1      
2016-06-02 16:00   3000    1.1.1.1      
2016-06-02 15:00   3000    2.2.2.2  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Time               Count   IP
2016-06-02 14:00   6500 1.1.1.1      
2016-06-02 16:00
2016-06-02 15:00   3000    2.2.2.2    
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Jun 2016 00:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286917#M86849</guid>
      <dc:creator>andrewking1116</dc:creator>
      <dc:date>2016-06-04T00:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group time values together by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286918#M86850</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | bin span=1d _time | stats values(_time) as Time sum(count) count by IP | table Time count IP 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Jun 2016 03:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286918#M86850</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-04T03:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group time values together by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286919#M86851</link>
      <description>&lt;P&gt;Thank you for your quick response. I thought I had tried that but must have use value instead of values.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 21:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286919#M86851</guid>
      <dc:creator>andrewking1116</dc:creator>
      <dc:date>2016-06-07T21:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I group time values together by another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286920#M86852</link>
      <description>&lt;P&gt;HI @andrewking1116&lt;/P&gt;

&lt;P&gt;If @sundareshr's answer solved your question, please don't forget to resolve the post by clicking "Accept" directly below his answer. Also give him an upvote for helping you out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 01:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-group-time-values-together-by-another-field/m-p/286920#M86852</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-06-08T01:13:25Z</dc:date>
    </item>
  </channel>
</rss>

