<?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 to exclude certain fields from search results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207439#M187750</link>
    <description>&lt;P&gt;Try &lt;CODE&gt;... | fields - devname | ...&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 21:01:57 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-06-13T21:01:57Z</dc:date>
    <item>
      <title>How to exclude certain fields from search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207438#M187749</link>
      <description>&lt;P&gt;I would like to exclude certain fields from search results and keep the rest of the information (not discarding the event), so Splunk can send it to an email later on. &lt;/P&gt;

&lt;P&gt;For example. Let's say I have the following event:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;devname = foo , devid = uuid , msg = info&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Then, I discard devname = foo&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;devid = uuid , msg = info&lt;BR /&gt;
Finally, send configured event to email.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207438#M187749</guid>
      <dc:creator>Yaichael</dc:creator>
      <dc:date>2016-06-13T20:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields from search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207439#M187750</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;... | fields - devname | ...&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 21:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207439#M187750</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-06-13T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields from search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207440#M187751</link>
      <description>&lt;P&gt;Hi Yaichael,&lt;/P&gt;

&lt;P&gt;you can use either &lt;CODE&gt;fields&lt;/CODE&gt; or &lt;CODE&gt;table&lt;/CODE&gt; to specify the fields which should be used further in Splunk:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Your base search here | fields devid msg | do more stuff here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your base search here | table devid msg | do more stuff here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The difference between &lt;CODE&gt;fields&lt;/CODE&gt; and &lt;CODE&gt;table&lt;/CODE&gt; is that &lt;CODE&gt;table&lt;/CODE&gt; only keeps those fields specified in a table format, where as &lt;CODE&gt;fields&lt;/CODE&gt; also provides fields like &lt;CODE&gt;_time&lt;/CODE&gt; and &lt;CODE&gt;_raw&lt;/CODE&gt; as well in the event set.&lt;BR /&gt;
Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 21:04:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclude-certain-fields-from-search-results/m-p/207440#M187751</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-06-13T21:04:33Z</dc:date>
    </item>
  </channel>
</rss>

