<?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: How do you get tabular event with field value pair? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451792#M127935</link>
    <description>&lt;P&gt;I got the desired output by using below command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | multikv | table INCIDENT_ID PROBLEM_KEY CREATE_TIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 10 Sep 2018 09:57:26 GMT</pubDate>
    <dc:creator>twh1</dc:creator>
    <dc:date>2018-09-10T09:57:26Z</dc:date>
    <item>
      <title>How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451787#M127930</link>
      <description>&lt;P&gt;I have an event in the below format.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INCIDENT_ID          PROBLEM_KEY                                                 CREATE_TIME                              
-------------------- ----------------------------------------------------------- ---------------------------------------- 
102753               ORA 15064                                                   2018-05-24 15:38:50.242000 -04:00       
107689               ORA 29740                                                   2018-05-24 17:04:00.414000 -04:00       
112801               ORA 32701                                                   2018-05-24 20:59:14.420000 -04:00 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need this data as &lt;STRONG&gt;INCIDENT_ID&lt;/STRONG&gt; field with values (102753, 107689, 112801), and &lt;STRONG&gt;PROBLEM_KEY&lt;/STRONG&gt;, &lt;STRONG&gt;CREATE_TIME&lt;/STRONG&gt; fields in same way. I used &lt;STRONG&gt;multikv&lt;/STRONG&gt; command, but I am not getting the desired result.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | multikv fields INCIDENT_ID PROBLEM_KEY CREATE_TIME | table INCIDENT_ID PROBLEM_KEY CREATE_TIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Sep 2018 14:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451787#M127930</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2018-09-07T14:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451788#M127931</link>
      <description>&lt;P&gt;@twh1, if its currently displaying as a single row, then try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search|eval z=mvzip(mvzip( INCIDENT_ID ,PROBLEM_KEY,"," ),CREATE_TIME,"," )|fields z|mvexpand z|eval s=split(z,",")|eval INCIDENT_ID=mvindex(s,0),PROBLEM_KEY=mvindex(s,1),CREATE_TIME=mvindex(s,2)|fields INCIDENT_ID,PROBLEM_KEY,CREATE_TIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Sep 2018 16:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451788#M127931</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-09-07T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451789#M127932</link>
      <description>&lt;P&gt;What's the current output looks like and what should be the expected output?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 20:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451789#M127932</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-09-07T20:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451790#M127933</link>
      <description>&lt;P&gt;Hi @renjith.nair &lt;BR /&gt;
I tried above query  but didn't get the desired output.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 09:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451790#M127933</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2018-09-10T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451791#M127934</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt; : &lt;/P&gt;

&lt;P&gt;I need 3 fileds(INCIDENT_ID, PROBLEM_KEY, CREATE_TIME) should get created at run time. When I use table command to print these fields respective column value should come in that field.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451791#M127934</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2020-09-29T21:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get tabular event with field value pair?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451792#M127935</link>
      <description>&lt;P&gt;I got the desired output by using below command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | multikv | table INCIDENT_ID PROBLEM_KEY CREATE_TIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Sep 2018 09:57:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-get-tabular-event-with-field-value-pair/m-p/451792#M127935</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2018-09-10T09:57:26Z</dc:date>
    </item>
  </channel>
</rss>

