<?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 Combine table rows in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Combine-table-rows/m-p/238638#M70902</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I've got a question about a query i have made:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=security-mijnssp "View rendered = /error.jspx" OR "Er is een fout opgetreden op de JSF pagina"  | rex "BSN=(?P&amp;lt;BSN&amp;gt;[^&amp;lt;]+) View" | rex "INFO  n.s.m.w.l(?P&amp;lt;INFO&amp;gt;[^&amp;lt;]+)"|rex "ERROR n.s.m.w.l(?P&amp;lt;ERROR&amp;gt;[^&amp;lt;]+)"|  table INFO,BSN, ERROR, _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible to combine the results of this query in one row?&lt;BR /&gt;
So that the INFO,BSN,ERROR and time are in one row?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/670i4273DC7554674228/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2015 10:27:21 GMT</pubDate>
    <dc:creator>lgroot</dc:creator>
    <dc:date>2015-09-24T10:27:21Z</dc:date>
    <item>
      <title>Combine table rows</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-table-rows/m-p/238638#M70902</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I've got a question about a query i have made:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=security-mijnssp "View rendered = /error.jspx" OR "Er is een fout opgetreden op de JSF pagina"  | rex "BSN=(?P&amp;lt;BSN&amp;gt;[^&amp;lt;]+) View" | rex "INFO  n.s.m.w.l(?P&amp;lt;INFO&amp;gt;[^&amp;lt;]+)"|rex "ERROR n.s.m.w.l(?P&amp;lt;ERROR&amp;gt;[^&amp;lt;]+)"|  table INFO,BSN, ERROR, _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible to combine the results of this query in one row?&lt;BR /&gt;
So that the INFO,BSN,ERROR and time are in one row?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/670i4273DC7554674228/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 10:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-table-rows/m-p/238638#M70902</guid>
      <dc:creator>lgroot</dc:creator>
      <dc:date>2015-09-24T10:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine table rows</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combine-table-rows/m-p/238639#M70903</link>
      <description>&lt;P&gt;You would be able to combine this if they have a common field that can correlate them. From the example/screenshot, only common field I can see is _time, so my answer is based on _time, change the field if there are any other common fields.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;BR /&gt;
Actually BSN is the common field, so updating it to BSN&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=security-mijnssp "View rendered = /error.jspx" OR "Er is een fout opgetreden op de JSF pagina"  | rex "BSN=(?P&amp;lt;BSN&amp;gt;[^&amp;lt;]+) View" | rex "INFO  n.s.m.w.l(?P&amp;lt;INFO&amp;gt;[^&amp;lt;]+)"|rex "ERROR n.s.m.w.l(?P&amp;lt;ERROR&amp;gt;[^&amp;lt;]+)"|  table INFO,BSN, ERROR, _time |stats values(*) as * by BSN
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Sep 2015 15:05:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combine-table-rows/m-p/238639#M70903</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-24T15:05:17Z</dc:date>
    </item>
  </channel>
</rss>

