<?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 Return single field values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85763#M182131</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am importing custom CSV files. I have a field value named "color". I just want to be able to get Splunk to return the value of color. The example below would return "Orange"&lt;/P&gt;

&lt;P&gt;Any ideas what the searh might be?&lt;/P&gt;

&lt;P&gt;06/03/2012 09:30:00,DX2-MARTINI-GROC-9,80,COM-LIVE / COM-LIVE2 / SECURE-SSL-LIVE,6509-MK2:ACE:1:MK-ACE-16509-MK1:ACE:1:MK-ACE-1,Down,Down,MARTINI-GROCERY-LIVE,,,,Orange,2,9&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2012 16:26:59 GMT</pubDate>
    <dc:creator>aleem</dc:creator>
    <dc:date>2012-03-06T16:26:59Z</dc:date>
    <item>
      <title>Return single field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85763#M182131</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am importing custom CSV files. I have a field value named "color". I just want to be able to get Splunk to return the value of color. The example below would return "Orange"&lt;/P&gt;

&lt;P&gt;Any ideas what the searh might be?&lt;/P&gt;

&lt;P&gt;06/03/2012 09:30:00,DX2-MARTINI-GROC-9,80,COM-LIVE / COM-LIVE2 / SECURE-SSL-LIVE,6509-MK2:ACE:1:MK-ACE-16509-MK1:ACE:1:MK-ACE-1,Down,Down,MARTINI-GROCERY-LIVE,,,,Orange,2,9&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 16:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85763#M182131</guid>
      <dc:creator>aleem</dc:creator>
      <dc:date>2012-03-06T16:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Return single field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85764#M182132</link>
      <description>&lt;P&gt;If the sourcetype is "csv", then Splunk will extract the fields and name them based on the first line (which is assumed to be a header). So if the first line defined this field with the name Color, you could do this&lt;/P&gt;

&lt;P&gt;&lt;YOURSEARCHCRITERA&gt; | table Color&lt;/YOURSEARCHCRITERA&gt;&lt;/P&gt;

&lt;P&gt;Would return only the color field for each search result.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 16:36:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85764#M182132</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-03-06T16:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Return single field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85765#M182133</link>
      <description>&lt;P&gt;Excellent, much appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 17:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Return-single-field-values/m-p/85765#M182133</guid>
      <dc:creator>aleem</dc:creator>
      <dc:date>2012-03-06T17:12:41Z</dc:date>
    </item>
  </channel>
</rss>

