<?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 Multiline event report in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127709#M34652</link>
    <description>&lt;P&gt;Hi there i have log something like this:&lt;/P&gt;

&lt;P&gt;id=4555 event=Enter data1=12 &lt;BR /&gt;
id=4555 event=Connect data1=23 &lt;BR /&gt;
id=4555 event=Exit data1=28 &lt;BR /&gt;
id=4556 event=Enter data1=12 &lt;BR /&gt;
id=4556 event=Connect data1=23 &lt;BR /&gt;
id=4556 event=Exit data1=28 &lt;/P&gt;

&lt;P&gt;then i use | transaction id&lt;/P&gt;

&lt;P&gt;and i receive my events gouped by id, but now, i need to create a table like this:&lt;/P&gt;

&lt;P&gt;id | data1 from line where event=Enter | data1 from line whre event=Connect&lt;/P&gt;

&lt;P&gt;can someone advise me, what tool i should read about?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2013 15:02:08 GMT</pubDate>
    <dc:creator>sarumjanuch</dc:creator>
    <dc:date>2013-11-04T15:02:08Z</dc:date>
    <item>
      <title>Multiline event report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127709#M34652</link>
      <description>&lt;P&gt;Hi there i have log something like this:&lt;/P&gt;

&lt;P&gt;id=4555 event=Enter data1=12 &lt;BR /&gt;
id=4555 event=Connect data1=23 &lt;BR /&gt;
id=4555 event=Exit data1=28 &lt;BR /&gt;
id=4556 event=Enter data1=12 &lt;BR /&gt;
id=4556 event=Connect data1=23 &lt;BR /&gt;
id=4556 event=Exit data1=28 &lt;/P&gt;

&lt;P&gt;then i use | transaction id&lt;/P&gt;

&lt;P&gt;and i receive my events gouped by id, but now, i need to create a table like this:&lt;/P&gt;

&lt;P&gt;id | data1 from line where event=Enter | data1 from line whre event=Connect&lt;/P&gt;

&lt;P&gt;can someone advise me, what tool i should read about?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127709#M34652</guid>
      <dc:creator>sarumjanuch</dc:creator>
      <dc:date>2013-11-04T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline event report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127710#M34653</link>
      <description>&lt;P&gt;Pls give me the table format..so that i can help with the query ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127710#M34653</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2013-11-04T15:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline event report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127711#M34654</link>
      <description>&lt;P&gt;You can access the elements of the multi-valued field with the &lt;CODE&gt;mvindex()&lt;/CODE&gt; function of &lt;CODE&gt;eval&lt;/CODE&gt;;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_base_search 
| transaction id 
| eval Enter_Data_1 = mvindex(data1, 0) 
| eval Connect_Data_1 = mvindex(data1,1) 
| table id, Enter_Data_1, Connect_Data_1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;id     Enter_Data_1      Connect_Data_1
4555   12                23
4556   12                23
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127711#M34654</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-04T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline event report</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127712#M34655</link>
      <description>&lt;P&gt;Have you tried limiting the search to events that match that criteria?&lt;BR /&gt;
Add this prior to the transaction:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|search event="Enter" OR event="Connect" |
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:36:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-event-report/m-p/127712#M34655</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-04T15:36:59Z</dc:date>
    </item>
  </channel>
</rss>

