<?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 How do I split multiple events into seperate columns, and form one single row? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-split-multiple-events-into-seperate-columns-and-form/m-p/300010#M11346</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm wanting to split multiple event types into separate columns, and form one single row for a Linux system.  Currently, my output looks similar to:&lt;BR /&gt;
_time   acct               Type               Result&lt;BR /&gt;
12:49   smith   User_Start  Success&lt;BR /&gt;
13:05   smith   User_End    Success&lt;/P&gt;

&lt;P&gt;I would like to have it look more like this (if possible):&lt;BR /&gt;
_time   acct                Type            _time      Type              Result&lt;BR /&gt;
12:49   smith   User_Start  13:05   User_End    Success&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:54:51 GMT</pubDate>
    <dc:creator>CodyQuinney</dc:creator>
    <dc:date>2020-09-29T16:54:51Z</dc:date>
    <item>
      <title>How do I split multiple events into seperate columns, and form one single row?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-split-multiple-events-into-seperate-columns-and-form/m-p/300010#M11346</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm wanting to split multiple event types into separate columns, and form one single row for a Linux system.  Currently, my output looks similar to:&lt;BR /&gt;
_time   acct               Type               Result&lt;BR /&gt;
12:49   smith   User_Start  Success&lt;BR /&gt;
13:05   smith   User_End    Success&lt;/P&gt;

&lt;P&gt;I would like to have it look more like this (if possible):&lt;BR /&gt;
_time   acct                Type            _time      Type              Result&lt;BR /&gt;
12:49   smith   User_Start  13:05   User_End    Success&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-split-multiple-events-into-seperate-columns-and-form/m-p/300010#M11346</guid>
      <dc:creator>CodyQuinney</dc:creator>
      <dc:date>2020-09-29T16:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I split multiple events into seperate columns, and form one single row?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-split-multiple-events-into-seperate-columns-and-form/m-p/300011#M11347</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Can you please try this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR SEARCH  | stats delim="," list(Type) as Type list(_time) as Time list(Result) as Result by acct | mvcombine Time | mvcombine Type | mvcombine Result | eval Type1=mvindex(split(Type,","),0),Type2=mvindex(split(Type,","),1),Start_Time=strftime(mvindex(split(Time,","),0),"%Y-%m-%d %H:%M:%S"),End_Time=strftime(mvindex(split(Time,","),1),"%Y-%m-%d %H:%M:%S") ,Result1=mvindex(split(Result,","),0),Result2=mvindex(split(Result,","),1)  | table acct Type1 Start_Time Result1 Type2 End_Time Result2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 17:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-split-multiple-events-into-seperate-columns-and-form/m-p/300011#M11347</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-21T17:25:06Z</dc:date>
    </item>
  </channel>
</rss>

