<?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 Lines Query based on ID in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176125#M50565</link>
    <description>&lt;P&gt;Hi  mnorindr,&lt;BR /&gt;
                     It can be solved by using Transaction......according to data  u got 2lines having redundant data ....&lt;STRONG&gt;for example sessionid may remain same for a particular transaction&lt;/STRONG&gt;&lt;BR /&gt;
             &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/87i5CF5B8C27B9F9843/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;this can be solved by using Transaction query&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/88iAE063084092116F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 11:50:28 GMT</pubDate>
    <dc:creator>rakeshh123</dc:creator>
    <dc:date>2016-02-01T11:50:28Z</dc:date>
    <item>
      <title>Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176121#M50561</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I would like to merge 2 lines which an ID is the unique Key.&lt;BR /&gt;
 Ex&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Username      Date         ID        
   Max                    1702
             08/08/14     1702
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and get just one line base on the unique ID&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Username      Date         ID
   Max       08/08/14     1702
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible to do that? &lt;BR /&gt;
I though that the command merge can help but do not success&lt;/P&gt;

&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 12:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176121#M50561</guid>
      <dc:creator>mnorindr</dc:creator>
      <dc:date>2014-08-08T12:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176122#M50562</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | table Username Date ID | stats first(*) as * by ID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Aug 2014 13:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176122#M50562</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-08T13:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176123#M50563</link>
      <description>&lt;P&gt;Just try but doesn't work (No results found). I see in the forum that maybe "transaction" command can help, i'll try&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 11:41:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176123#M50563</guid>
      <dc:creator>mnorindr</dc:creator>
      <dc:date>2014-08-11T11:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176124#M50564</link>
      <description>&lt;P&gt;I'm on Splunk 6.3 and there's a dedup command you can use in the search for this purpose. &lt;BR /&gt;
your base search | dedup ID order by username desc&lt;/P&gt;

&lt;P&gt;Is there a way apply this logic upon ingestion as opposed to search?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 01:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176124#M50564</guid>
      <dc:creator>rhys04</dc:creator>
      <dc:date>2016-01-30T01:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176125#M50565</link>
      <description>&lt;P&gt;Hi  mnorindr,&lt;BR /&gt;
                     It can be solved by using Transaction......according to data  u got 2lines having redundant data ....&lt;STRONG&gt;for example sessionid may remain same for a particular transaction&lt;/STRONG&gt;&lt;BR /&gt;
             &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/87i5CF5B8C27B9F9843/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;this can be solved by using Transaction query&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/88iAE063084092116F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176125#M50565</guid>
      <dc:creator>rakeshh123</dc:creator>
      <dc:date>2016-02-01T11:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Lines Query based on ID</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176126#M50566</link>
      <description>&lt;P&gt;I have similar problem, I tried this approach and it works fine&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-Lines-Query-based-on-ID/m-p/176126#M50566</guid>
      <dc:creator>marhuc</dc:creator>
      <dc:date>2018-02-01T12:24:31Z</dc:date>
    </item>
  </channel>
</rss>

