<?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 to turn values into their own field? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445237#M77491</link>
    <description>&lt;P&gt;Hi. I'd like to grab unique values of a field, and turn them into their own field. And then, to put their corresponding &lt;CODE&gt;deviceID&lt;/CODE&gt; under them. Please see the example.csv:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;classification   deviceID
alpha bravo       1001
alpha bravo       1002
alpha bravo       2002
  bravo           5500
  bravo           6600
  bravo           0077
  alpha           1114
  alpha           3334
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I create a query to show this CSV manipulated like the below?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;alpha bravo   bravo   alpha
   1001       5500    1114
   1002       6600    3334
   2002       0077    
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Aug 2019 15:07:01 GMT</pubDate>
    <dc:creator>russell120</dc:creator>
    <dc:date>2019-08-13T15:07:01Z</dc:date>
    <item>
      <title>How to turn values into their own field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445237#M77491</link>
      <description>&lt;P&gt;Hi. I'd like to grab unique values of a field, and turn them into their own field. And then, to put their corresponding &lt;CODE&gt;deviceID&lt;/CODE&gt; under them. Please see the example.csv:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;classification   deviceID
alpha bravo       1001
alpha bravo       1002
alpha bravo       2002
  bravo           5500
  bravo           6600
  bravo           0077
  alpha           1114
  alpha           3334
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I create a query to show this CSV manipulated like the below?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;alpha bravo   bravo   alpha
   1001       5500    1114
   1002       6600    3334
   2002       0077    
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:07:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445237#M77491</guid>
      <dc:creator>russell120</dc:creator>
      <dc:date>2019-08-13T15:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn values into their own field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445238#M77492</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search giving fields classification,deviceID
| streamstats count as temp by classification
| xyseries temp classification deviceID | fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445238#M77492</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-08-13T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn values into their own field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445239#M77493</link>
      <description>&lt;P&gt;Works perfectly. Thanks bro.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-turn-values-into-their-own-field/m-p/445239#M77493</guid>
      <dc:creator>russell120</dc:creator>
      <dc:date>2019-08-13T15:44:01Z</dc:date>
    </item>
  </channel>
</rss>

