<?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: Put extracted REX values in single row in table while using transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587039#M204456</link>
    <description>&lt;P&gt;Yes, these values present in all the events. I expect the answer to look like below table. The values of each transaction based on value3 should be combined. Each transaction may have 1 to 15 events. But they all have unique Value3&lt;/P&gt;&lt;P&gt;-----------------------------&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue4FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue5FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;&amp;nbsp;secondRexValue1FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue3FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;secondRexValue4FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;secondRexValue5FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1SecondTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2SecondTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3SecondTransaction&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;P&gt;secondRexValue1SecondTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2SecondTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue3SecondTransaction&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue4ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;P&gt;secondRexValue1ThirdTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2&amp;nbsp;secondRexValue3&lt;/P&gt;&amp;nbsp;secondRexValue3 secondRexValue3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Tue, 01 Mar 2022 15:26:04 GMT</pubDate>
    <dc:creator>mrunalaghara</dc:creator>
    <dc:date>2022-03-01T15:26:04Z</dc:date>
    <item>
      <title>How to put extracted REX values in single row in table while using transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587004#M204438</link>
      <description>&lt;P&gt;&amp;nbsp;I am performing theSplunk query on following result, The following field repeats 100 times with different values&lt;/P&gt;
&lt;P&gt;randomstring=randomstring&amp;amp;firstRex=firstRexValue&amp;amp;anotherradomstring=antotherrandomstring&amp;amp;secondRex=secondrexvalue&amp;amp;somotherstuff=someotherstuffvalue&amp;amp;yetanotherstuff=yetanotherstuffvalue&amp;amp;thirdRex=thirdrexvalue&lt;/P&gt;
&lt;P&gt;the Splunk query is as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;source="source" searchquery
| rex "firstRex=(?&amp;lt;value1&amp;gt;[^&amp;amp;]+)"
| rex "secondRex=(?&amp;lt;value2&amp;gt;[^&amp;amp;]+)" 
| rex "thirdRex=(?&amp;lt;value3&amp;gt;[^&amp;amp;]+)" 
| transaction value1
| table value2 value3 &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now when I do table, the value2 and value3 doesn't seems connected.&amp;nbsp; I mean the column value2 has 5 rows while column value3 has 7 rows for example.&lt;/P&gt;
&lt;P&gt;Further, I would also like to add date for each event in the table, how can I do it?&lt;/P&gt;
&lt;P&gt;and I would need your suggestion to perform regex in single rex query instead of three &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 17:33:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587004#M204438</guid>
      <dc:creator>mrunalaghara</dc:creator>
      <dc:date>2022-03-01T17:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587011#M204442</link>
      <description>&lt;P&gt;See if this helps:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="source" searchquery
| rex "firstRex=(?&amp;lt;value1&amp;gt;[^&amp;amp;]+)"
| rex "secondRex=(?&amp;lt;value2&amp;gt;[^&amp;amp;]+)" 
| rex "thirdRex=(?&amp;lt;value3&amp;gt;[^&amp;amp;]+)" 
| transaction value1
| table value2 value3 
| nomv value2 | nomv value3&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 14:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587011#M204442</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-01T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587012#M204443</link>
      <description>&lt;P&gt;Are the values always present?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="source" searchquery
| rex "firstRex=(?&amp;lt;value1&amp;gt;[^&amp;amp;]+).+secondRex=(?&amp;lt;value2&amp;gt;[^&amp;amp;]+).+thirdRex=(?&amp;lt;value3&amp;gt;[^&amp;amp;]+)" 
| stats list(value2) as value2 list(value3) as value3 by value1&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 14:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587012#M204443</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-01T14:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587027#M204451</link>
      <description>&lt;P&gt;Thanks for your reply, but doesn't make any change &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587027#M204451</guid>
      <dc:creator>mrunalaghara</dc:creator>
      <dc:date>2022-03-01T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587028#M204452</link>
      <description>&lt;P&gt;Thank you for your reply. but nomv value3 is combining the values... they are very hard to distinguish as it presents like a paragraph.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587028#M204452</guid>
      <dc:creator>mrunalaghara</dc:creator>
      <dc:date>2022-03-01T15:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587032#M204454</link>
      <description>&lt;P&gt;Well, you haven't really answered the question - are these values present (in every event)?&lt;/P&gt;&lt;P&gt;Another question: what would your expected results look like?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587032#M204454</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-01T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587039#M204456</link>
      <description>&lt;P&gt;Yes, these values present in all the events. I expect the answer to look like below table. The values of each transaction based on value3 should be combined. Each transaction may have 1 to 15 events. But they all have unique Value3&lt;/P&gt;&lt;P&gt;-----------------------------&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue4FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue5FirstTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;&amp;nbsp;secondRexValue1FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue3FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;secondRexValue4FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;secondRexValue5FirstTransaction&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1SecondTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2SecondTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3SecondTransaction&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;P&gt;secondRexValue1SecondTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2SecondTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue3SecondTransaction&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="188px"&gt;&lt;P&gt;firstRexValue1ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue2ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue3ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstRexValue4ThirdTransaction&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;P&gt;secondRexValue1ThirdTransaction&lt;/P&gt;&lt;P&gt;&amp;nbsp;secondRexValue2&amp;nbsp;secondRexValue3&lt;/P&gt;&amp;nbsp;secondRexValue3 secondRexValue3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587039#M204456</guid>
      <dc:creator>mrunalaghara</dc:creator>
      <dc:date>2022-03-01T15:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587041#M204457</link>
      <description>&lt;P&gt;So, value3 is the (common/linking) transaction id?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="source" searchquery
| rex "firstRex=(?&amp;lt;value1&amp;gt;[^&amp;amp;]+).+secondRex=(?&amp;lt;value2&amp;gt;[^&amp;amp;]+).+thirdRex=(?&amp;lt;value3&amp;gt;[^&amp;amp;]+)" 
| stats list(value1) as value1 list(value2) as value2 by value3&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:32:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587041#M204457</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-01T15:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Put extracted REX values in single row in table while using transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587043#M204458</link>
      <description>&lt;P&gt;Yes Value3 is common transaction id&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-extracted-REX-values-in-single-row-in-table-while/m-p/587043#M204458</guid>
      <dc:creator>mrunalaghara</dc:creator>
      <dc:date>2022-03-01T15:33:15Z</dc:date>
    </item>
  </channel>
</rss>

