<?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 parse multiple columns (key/value)? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435391#M124146</link>
    <description>&lt;P&gt;Hi braicu&lt;/P&gt;

&lt;P&gt;Thank you for posting your question on the Splunk Answers community. Are you getting these results from a search? If possible can you include your search in your post so members of the community can help provide further guidance.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 17:22:47 GMT</pubDate>
    <dc:creator>Anam</dc:creator>
    <dc:date>2019-03-08T17:22:47Z</dc:date>
    <item>
      <title>How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435389#M124144</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;Please help me with this.&lt;/P&gt;

&lt;P&gt;I have result of two columns:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Tag-Key                                Tag-Value
Account                                   CIP
ApplicationName                   Infrastructure
AssetDataStored               InternalUseOnly
CostCenter                            Landing Zone
Environment                           LandingZoneStackSet
Name                                      Production
Owner                                     S3 LZ Access Logs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My question is, how do I parse them into individual columns like filter by Key: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Account                   ApplicationName          CostCenter          
CIP                            Infrastructure                Landing Zone
Sandbox                  Production                     CIP
etc                                                                     etc 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Mar 2019 15:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435389#M124144</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2019-03-08T15:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435390#M124145</link>
      <description>&lt;P&gt;Edited my post:&lt;/P&gt;

&lt;P&gt;I was suggesting transpose, but on testing I'm not sure it will work for you.&lt;/P&gt;

&lt;P&gt;Here is the documentation though: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Transpose"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/SearchReference/Transpose&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435390#M124145</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-08T16:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435391#M124146</link>
      <description>&lt;P&gt;Hi braicu&lt;/P&gt;

&lt;P&gt;Thank you for posting your question on the Splunk Answers community. Are you getting these results from a search? If possible can you include your search in your post so members of the community can help provide further guidance.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 17:22:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435391#M124146</guid>
      <dc:creator>Anam</dc:creator>
      <dc:date>2019-03-08T17:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435392#M124147</link>
      <description>&lt;P&gt;Hi @braicu&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your query.. | sort Tag_Key,Tag_Value | table Tag_Key,Tag_Value | transpose 0  header_field=Tag_Key |fields - column
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Mar 2019 17:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435392#M124147</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-08T17:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435393#M124148</link>
      <description>&lt;P&gt;Ha! That was exactly my suggestion, but I tried testing it with makeresults and it didn’t work very well. &lt;/P&gt;

&lt;P&gt;Maybe it will work with real data!? &lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 17:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435393#M124148</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-08T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435394#M124149</link>
      <description>&lt;P&gt;It is working&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://i.ibb.co/2nBp6T6/keyvalue.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 18:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435394#M124149</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-08T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435395#M124150</link>
      <description>&lt;P&gt;i tested and is not working good &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .,,Not working guys &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; . I have other fields not only Tag-Key &amp;amp; Tag Value . I need to split that Tag-Key to be the column name , and Value to be the value for the columns ( and i have multiple values not only one) , but the other columns that i have ( region , aws_account_id etc ) to remain unchanged , and transpose is not good solution. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:39:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435395#M124150</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2020-09-29T23:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you parse multiple columns (key/value)?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435396#M124151</link>
      <description>&lt;P&gt;I have tested and is not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; . I have other columns not only those 2 and i need the other columns to remain unchanged. I need only tag-key to be parsed as column name , and tag-name to be the value for the columns.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 10:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-parse-multiple-columns-key-value/m-p/435396#M124151</guid>
      <dc:creator>braicu</dc:creator>
      <dc:date>2019-03-09T10:59:32Z</dc:date>
    </item>
  </channel>
</rss>

