<?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: merge two events which have different fields but they have the same values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210605#M61566</link>
    <description>&lt;P&gt;What do you get when you run this without the transaction command?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" | table uid mid
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 Sep 2016 15:06:56 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-09-22T15:06:56Z</dc:date>
    <item>
      <title>merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210596#M61557</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;i have the following logs  ( 4  events):&lt;/P&gt;

&lt;P&gt;1)&lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: Start UID 306825245 ICID 111270602&lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: UID 306825245 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: UID 306825245 ICID 111270602 RID 0 user: &lt;BR /&gt;
Sep 21 15:36:13 Info: UID 306825245 RID [0] Response 'ok: Message 119526183 accepted'&lt;BR /&gt;
 2)&lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: Start UID 971637133 ICID 319258725&lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: UID 971637133 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: UID 971637133 ICID 319258725 RID 0 user: &lt;BR /&gt;
Sep 21 15:36:09 Info: UID 971637133 RID [0] Response 'ok: Message 306825245 accepted'&lt;BR /&gt;
3)&lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: Start UID 207825245 ICID 111270602&lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: UID 207825245 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: UID 207825245 ICID 111270602 RID 0 user: &lt;BR /&gt;
Sep 21 15:34:13 Info: UID 207825245 RID [0] Response 'ok: Message 134526103 accepted'&lt;BR /&gt;
4)&lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: Start UID 187478569 ICID 319258725&lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: UID 187478569 ICID 319258725 receivedTest: &lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: UID 187478569 ICID 319258725 RID 0 user: &lt;BR /&gt;
Sep 21 15:34:09 Info: UID 187478569 RID [0] Response 'ok: Message 207825245 accepted'&lt;/P&gt;

&lt;P&gt;I wan to group them into 2 events. The event is grouped based on UID and the id from the last message ( Message 207825245 accepted').  For ex: in the second event, it has UID = 207825245  and accepted message id = 306825245. This will be grouped with the first event because the UID of the first event equals to the  accepted message id of the second message.&lt;/P&gt;

&lt;P&gt;So with that, the wesutl should be &lt;BR /&gt;
:&lt;BR /&gt;
1)&lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: Start UID 306825245 ICID 111270602&lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: UID 207825245 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:36:11 test.infra : Info: UID 306825245 ICID 111270602 RID 0 user: &lt;BR /&gt;
Sep 21 15:36:13 Info: UID 306825245 RID [0] Response 'ok: Message 119526183 accepted'&lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: Start UID 971637133 ICID 319258725&lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: UID 207825245 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:36:05 test.infra : Info: UID 971637133 ICID 319258725 RID 0 user: &lt;BR /&gt;
Sep 21 15:36:09 Info: UID 971637133 RID [0] Response 'ok: Message 306825245 accepted'&lt;/P&gt;

&lt;P&gt;2)&lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: Start UID 207825245 ICID 111270602&lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: UID 207825245 ICID 111270602 receivedTest: &lt;BR /&gt;
Sep 21 15:34:11 test.infra : Info: UID 207825245 ICID 111270602 RID 0 user: &lt;BR /&gt;
Sep 21 15:34:13 Info: UID 207825245 RID [0] Response 'ok: Message 134526103 accepted'&lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: Start UID 187478569 ICID 319258725&lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: UID 187478569 ICID 319258725 receivedTest: &lt;BR /&gt;
Sep 21 15:34:05 test.infra : Info: UID 187478569 ICID 319258725 RID 0 user: &lt;BR /&gt;
Sep 21 15:34:09 Info: UID 187478569 RID [0] Response 'ok: Message 207825245 accepted'&lt;/P&gt;

&lt;P&gt;Can someone helpe me resolve this case ? all suggestion will be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 11:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210596#M61557</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T11:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210597#M61558</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" | eval id=if(isnull(mid), uid, mid) | sort id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will give you a field called &lt;CODE&gt;id&lt;/CODE&gt; that is common. You can use this to group your events to calculate stats. For example  &lt;CODE&gt;stats count by id&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 12:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210597#M61558</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T12:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210598#M61559</link>
      <description>&lt;P&gt;Thanks for your reply, but your solution &lt;STRONG&gt;does not work&lt;/STRONG&gt;. The field "mid" exists in all events so the query "eval id=if(isnull(mid), uid, mid)" returns always mid =&amp;gt; so i cannot group them. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210598#M61559</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T13:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210599#M61560</link>
      <description>&lt;P&gt;What do you mean mid exists in all the events? What do you get for this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If &lt;CODE&gt;mid&lt;/CODE&gt; is empty for most of the fields, then try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" | eval id=if(len(mid)&amp;lt;2, uid, mid) | sort id
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210599#M61560</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210600#M61561</link>
      <description>&lt;P&gt;i used &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+) accepted" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The 1st event :  UID=306825245 , mid=119526183 &lt;BR /&gt;
The 2nd event: UID=971637133 , mid=306825245  # mid of 2nd = UID of 1st&lt;BR /&gt;
The 3rd event: UID=207825245 , mid=134526103 &lt;BR /&gt;
The 4th event: UID=187478569 , mid=207825245  # mid of 4h = UID of 3st&lt;/P&gt;

&lt;P&gt;So your solution : eval id=if(len(mid)&amp;lt;2, uid, mid) | sort id does not work , it does not group to 2 events from 4 events :  (1+2), (3+4)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210600#M61561</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210601#M61562</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex field=_raw mode=sed "s/\n/|/g" | makemv _raw delim="|" | mvexpand _raw | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" | eval id=if(isnull(mid), uid, mid) | sort id
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210601#M61562</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T13:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210602#M61563</link>
      <description>&lt;P&gt;i tested and it does not work.  the result is always 4 events , they are not grouped into 2. What i would like to achieve is : event 1 + event 2 = 1 event (caues the mid of evt 2 = UID of event 1), similarly for event 3 and 4.&lt;/P&gt;

&lt;P&gt;And the field id gets 4 different values for 4 events&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210602#M61563</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T14:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210603#M61564</link>
      <description>&lt;P&gt;You need to split the 4 lines in each event, to separate/individual events. Ideally, you should index it that way. If that is an option, I would recommend reindexing your data where each line is an event. Then my original query will work. This the last thing I can think of trying, not sure it will work, but worth a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval x=_raw | rex field=x mode=sed "s/\n/|/g" | makemv x delim="|" | mvexpand x | table x | rex field=x "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex field=x "Message\s(?&amp;lt;mid&amp;gt;\d+)" | eval id=if(isnull(mid), uid, mid) | sort id
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210603#M61564</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210604#M61565</link>
      <description>&lt;P&gt;Actually, the original events are line by line. I used the transaction to group them basing on the UID. But after that, i got this problem and do not how to solve. &lt;/P&gt;

&lt;P&gt;I tried your commands with the original events. it does not change. The difficulty is how to group 2 transactions with 2 UID to only one transaction like described in my post.  &lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210604#M61565</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210605#M61566</link>
      <description>&lt;P&gt;What do you get when you run this without the transaction command?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | rex "UID\s(?&amp;lt;uid&amp;gt;\d+)" | rex "Message\s(?&amp;lt;mid&amp;gt;\d+)" | table uid mid
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 15:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210605#M61566</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210606#M61567</link>
      <description>&lt;P&gt;the table is  : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;UID                 mid                    id
306825245      119526183      119526183
306825245            -        306825245
306825245            -        306825245
306825245            -        306825245
971637133      306825245      306825245
971637133           -         971637133
971637133           -          971637133
971637133           -          971637133
207825245       134526103       134526103
207825245           -         207825245
207825245           -         207825245
207825245           -         207825245
187478569       207825245       207825245
187478569           -         187478569
187478569           -         187478569
187478569           -         187478569
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You see the field "id" does not have 2 separate values.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 15:52:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210606#M61567</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T15:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210607#M61568</link>
      <description>&lt;P&gt;If you use the id field for the transaction command, it will not give you the right grouping?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 16:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210607#M61568</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-22T16:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210608#M61569</link>
      <description>&lt;P&gt;In the sample events, each line is one event (as they appear in Splunk) OR one event consists of 4 lines (like you marked here)?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210608#M61569</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-22T17:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210609#M61570</link>
      <description>&lt;P&gt;sorry for late reply, i just went back home. If i use the transaction with id , it does not give the right result.&lt;/P&gt;

&lt;P&gt;For example, the following table would give the right result if i use the transaction with id (id gets the same value for one event)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; UID                 mid                    id
 306825245      119526183      306825245
 306825245            -        306825245
 306825245            -        306825245
 306825245            -        306825245
 971637133      306825245      306825245
 971637133           -         306825245
 971637133           -         306825245
 971637133           -         306825245
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;306825245 is the key to connect them (2UIDs).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:45:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210609#M61570</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210610#M61571</link>
      <description>&lt;P&gt;Sorry for my reply, i came back home. No, it did not give the right grouping.&lt;/P&gt;

&lt;P&gt;If the table was like :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; UID                 mid                    id
 306825245      119526183      306825245
 306825245            -        306825245
 306825245            -        306825245
 306825245            -        306825245
 971637133      306825245      306825245
 971637133           -         306825245
 971637133           -         306825245
 971637133           -         306825245
 207825245       134526103       207825245
 207825245           -         207825245
 207825245           -         207825245
 207825245           -         207825245
 187478569       207825245       207825245
 187478569           -         207825245
 187478569           -         207825245
 187478569           -         207825245
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it would give the right grouping (here 2 events) , the mid=306825245 is the key to group  the 1st event, and mid=207825245 for the second event.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210610#M61571</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210611#M61572</link>
      <description>&lt;P&gt;sorry for my late reply. No, it did not give the right grouping.&lt;/P&gt;

&lt;P&gt;If the table was like :&lt;/P&gt;

&lt;P&gt;UID                 mid                    id&lt;BR /&gt;
 306825245      119526183      306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 971637133      306825245      306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 207825245       134526103       207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 187478569       207825245       207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;/P&gt;

&lt;P&gt;it would give the right answer. The mid=306825245 is a key to create first event, and mid=207825245 is for creating the second event.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210611#M61572</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210612#M61573</link>
      <description>&lt;P&gt;sorry for my late reply. No, it did not give the right grouping.&lt;/P&gt;

&lt;P&gt;If the table was like :&lt;/P&gt;

&lt;P&gt;UID                 mid                    id&lt;BR /&gt;
 306825245      119526183      306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 971637133      306825245      306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 207825245       134526103       207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 187478569       207825245       207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;/P&gt;

&lt;P&gt;it would give the right answer. The mid=306825245 is a key to create first event, and mid=207825245 is for creating the second event.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210612#M61573</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T20:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210613#M61574</link>
      <description>&lt;P&gt;sorry for my late reply. No, it did not give the right grouping.&lt;/P&gt;

&lt;P&gt;If the table was like :&lt;/P&gt;

&lt;P&gt;UID                 mid                    id&lt;BR /&gt;
 306825245      119526183      306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 306825245            -        306825245&lt;BR /&gt;
 971637133      306825245      306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 971637133           -         306825245&lt;BR /&gt;
 207825245       134526103       207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 207825245           -         207825245&lt;BR /&gt;
 187478569       207825245       207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;BR /&gt;
 187478569           -         207825245&lt;/P&gt;

&lt;P&gt;it would give the right answer. The mid=306825245 is a key to create first event, and mid=207825245 is for creating the second event.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210613#M61574</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-22T20:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210614#M61575</link>
      <description>&lt;P&gt;@sundareshr : i cannot reply to your comment. The forum deleted aumatically my reply everytime. It seems a bug of the splunk web.&lt;/P&gt;

&lt;P&gt;Can you take a look at my reply below ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 08:06:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210614#M61575</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-26T08:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: merge two events which have different fields but they have the same values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210615#M61576</link>
      <description>&lt;P&gt;@sundareshr : i cannot reply to your comment. The forum deleted aumatically my reply everytime. It seems a bug of the splunk web.&lt;/P&gt;

&lt;P&gt;Can you take a look at my reply below ?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 08:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/merge-two-events-which-have-different-fields-but-they-have-the/m-p/210615#M61576</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2016-09-26T08:07:34Z</dc:date>
    </item>
  </channel>
</rss>

