<?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 Group records by two fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320975#M95881</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the data like below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;TransactionID1  TransactionID2&lt;/STRONG&gt;&lt;BR /&gt;
aaaaaaaaaaaa    aaaaaaaaaaaa&lt;BR /&gt;
aaaaaaaaaaaa    bbbbbbbbbbb&lt;BR /&gt;
bbbbbbbbbbb&lt;BR /&gt;
ccccccccccccc    ccccccccccccc&lt;BR /&gt;
ccccccccccccc    ccccccccccccc&lt;BR /&gt;
ccccccccccccc&lt;/P&gt;

&lt;P&gt;I need to group some records based on the above two fields in a way that the first three records come together and last three come together based on the fact that any of the TransactionID1 or TransactionID2 are same. It is a bit easy to group the last three. However, I am finding it difficult to group the 1st three. Kindly help.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Mar 2018 01:36:05 GMT</pubDate>
    <dc:creator>varun99</dc:creator>
    <dc:date>2018-03-07T01:36:05Z</dc:date>
    <item>
      <title>Group records by two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320975#M95881</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the data like below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;TransactionID1  TransactionID2&lt;/STRONG&gt;&lt;BR /&gt;
aaaaaaaaaaaa    aaaaaaaaaaaa&lt;BR /&gt;
aaaaaaaaaaaa    bbbbbbbbbbb&lt;BR /&gt;
bbbbbbbbbbb&lt;BR /&gt;
ccccccccccccc    ccccccccccccc&lt;BR /&gt;
ccccccccccccc    ccccccccccccc&lt;BR /&gt;
ccccccccccccc&lt;/P&gt;

&lt;P&gt;I need to group some records based on the above two fields in a way that the first three records come together and last three come together based on the fact that any of the TransactionID1 or TransactionID2 are same. It is a bit easy to group the last three. However, I am finding it difficult to group the 1st three. Kindly help.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 01:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320975#M95881</guid>
      <dc:creator>varun99</dc:creator>
      <dc:date>2018-03-07T01:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group records by two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320976#M95882</link>
      <description>&lt;P&gt;We need to see a little bit more of the actual search or the actual data to understand what you are having problems with.  &lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 21:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320976#M95882</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-03-07T21:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Group records by two fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320977#M95883</link>
      <description>&lt;P&gt;Also, what would your desired output look like?  I imagine you're trying to group events together if either trans1 or trans2 match the previous one, but break into a new group should neither match. &lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 18:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-records-by-two-fields/m-p/320977#M95883</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2018-03-10T18:11:01Z</dc:date>
    </item>
  </channel>
</rss>

