<?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 Which command is used to take away a field from the results display? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352917#M104458</link>
    <description>&lt;P&gt;Is there a specific command that we use to take away a field from the results displayed?&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2017 17:59:50 GMT</pubDate>
    <dc:creator>splunkerkanaka</dc:creator>
    <dc:date>2017-08-06T17:59:50Z</dc:date>
    <item>
      <title>Which command is used to take away a field from the results display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352917#M104458</link>
      <description>&lt;P&gt;Is there a specific command that we use to take away a field from the results displayed?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 17:59:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352917#M104458</guid>
      <dc:creator>splunkerkanaka</dc:creator>
      <dc:date>2017-08-06T17:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Which command is used to take away a field from the results display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352918#M104459</link>
      <description>&lt;P&gt;@splunkerkanaka, it should be &lt;CODE&gt;| fields - &amp;lt;YourFieldToBeRemoved&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
Refer to documentation on fields command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Fields"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Fields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 18:40:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352918#M104459</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-08-06T18:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Which command is used to take away a field from the results display?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352919#M104460</link>
      <description>&lt;P&gt;There are two ways to do that, and they have different effects -&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/SearchReference/Fields"&gt;** FIELDS **&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields - myfield
| fields + keepfield1 keepfield2 ... keepfieldX
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;fields&lt;/CODE&gt; command is a distributable, streaming command.  The first one removes &lt;CODE&gt;myfield&lt;/CODE&gt;, the second one removes all fields except the listed ones, but also leaves the internal fields like &lt;CODE&gt;_time&lt;/CODE&gt;.  There is no limit on the number of records that can pass through the &lt;CODE&gt;fields&lt;/CODE&gt; command.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/SearchReference/Table"&gt;** TABLE **&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| table keepfield1 keepfield2 ... keepfieldX
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;table&lt;/CODE&gt; command is NOT a streaming command, it is a transforming command.  It keeps only the listed fields, deleting all internal fields that aren't listed, and formats the result as a table.  WARNING - &lt;CODE&gt;Table&lt;/CODE&gt; has a limit to the number of results it puts out.   &lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 18:50:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-command-is-used-to-take-away-a-field-from-the-results/m-p/352919#M104460</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-06T18:50:50Z</dc:date>
    </item>
  </channel>
</rss>

