<?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: Delete a search-time field after extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307184#M92132</link>
    <description>&lt;P&gt;You should be able to define a calculated field &lt;CODE&gt;EVAL-COLUMN3 = null()&lt;/CODE&gt; that overwrites the value &lt;EM&gt;after&lt;/EM&gt; the transforms ran: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/Knowledge/Searchtimeoperationssequence"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/Knowledge/Searchtimeoperationssequence&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2018 23:59:54 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2018-02-24T23:59:54Z</dc:date>
    <item>
      <title>Delete a search-time field after extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307183#M92131</link>
      <description>&lt;P&gt;I have a set of logs that require a pretty complex set of regexes to parse. The data has about 8 columns separated by commas, but the values have commas all over the place too so it's not a simple CSV extraction. To make it worse, each column has a bunch of different multivalue field/value pairs with spaces, double-quotes, commas, all sorts of stuff.&lt;/P&gt;

&lt;P&gt;In any case, I have successfully extracted the columns into fields with an &lt;CODE&gt;EXTRACT&lt;/CODE&gt; in props. Then I use that field as the &lt;CODE&gt;SOURCE_KEY&lt;/CODE&gt; in transforms.conf to do additional extractions - schematically like what I have below.&lt;/P&gt;

&lt;P&gt;The data in the COLUMN3 field is not meaningful to the user - it is only used as a simpler means to extract other fields. Therefore I don't want the COLUMN3 field to remain as a search-time extraction for the user. &lt;STRONG&gt;Is there a way to delete the COLUMN3 field after all the fields have been extracted from it?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;props.conf&lt;/EM&gt;&lt;BR /&gt;
 &lt;CODE&gt;[logs]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;EXTRACT-COLUMN1,COLUMN2,COLUMN3 = ^(.*?),(.*?),(.*?)$&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;REPORT-field_from_COLUMN3 = field_from_COLUMN3&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;transforms.conf&lt;/EM&gt;&lt;BR /&gt;
&lt;CODE&gt;[field_from_COLUMN3]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;SOURCE_KEY = COLUMN3&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;REGEX = Field=(?P&amp;lt;Field&amp;gt;.*)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 15:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307183#M92131</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-02-24T15:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delete a search-time field after extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307184#M92132</link>
      <description>&lt;P&gt;You should be able to define a calculated field &lt;CODE&gt;EVAL-COLUMN3 = null()&lt;/CODE&gt; that overwrites the value &lt;EM&gt;after&lt;/EM&gt; the transforms ran: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/Knowledge/Searchtimeoperationssequence"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/Knowledge/Searchtimeoperationssequence&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 23:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307184#M92132</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-24T23:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Delete a search-time field after extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307185#M92133</link>
      <description>&lt;P&gt;Brilliant! Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 04:23:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Delete-a-search-time-field-after-extraction/m-p/307185#M92133</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-02-25T04:23:03Z</dc:date>
    </item>
  </channel>
</rss>

