<?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: remove specific columns from a table using a search command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180804#M52093</link>
    <description>&lt;P&gt;I'm not sure why this question is so difficult.  A column = field.  So just state the columns that you want and/or state the columns that you do NOT want in your query:&lt;/P&gt;

&lt;P&gt;situation 1:  your search | fields + value_three&lt;BR /&gt;
situation 2: your search | fields + value_one&lt;BR /&gt;
situation 3: your search | fields + value_three, value_four, value_two&lt;BR /&gt;
                OR, your search | fields - value_one&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:09:52 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2020-09-28T16:09:52Z</dc:date>
    <item>
      <title>remove specific columns from a table using a search command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180801#M52090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have written a search query in Advanced XML dashboard, which displays the table as follows,&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;parameter    value_one   value_two   value_three     value_four&lt;BR /&gt;
param1         1          2            3               4&lt;BR /&gt;
param2         5          6            7               8&lt;BR /&gt;
param3         9            10        11               12&lt;BR /&gt;
param4        13          14          15               16&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I want to show only some specific columns based on situations such as, &lt;/P&gt;

&lt;P&gt;for situation 1:parameter value_three&lt;/P&gt;

&lt;P&gt;for situation 2:parameter value_one&lt;/P&gt;

&lt;P&gt;for situation 3:parameter ,value_three ,&lt;CODE&gt;value_four,value_two&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I know that putting " table parameter value_(any required value)" solves the problem. But is it possible to hide/remove columns using there column headers name OR is it possible to remove the first three or last three columns from the table using the search query itself.&lt;/P&gt;

&lt;P&gt;Kindly help...!!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180801#M52090</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2020-09-28T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: remove specific columns from a table using a search command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180802#M52091</link>
      <description>&lt;P&gt;Isn't calling &lt;CODE&gt;table&lt;/CODE&gt; or &lt;CODE&gt;fields&lt;/CODE&gt; exactly what you describe as the first solution, hide/remove columns using their column header names?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 13:25:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180802#M52091</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-11T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: remove specific columns from a table using a search command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180803#M52092</link>
      <description>&lt;P&gt;How do you define the situations? Is is a condition based on search result or a user input based on drop down or something?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180803#M52092</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-11T16:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: remove specific columns from a table using a search command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180804#M52093</link>
      <description>&lt;P&gt;I'm not sure why this question is so difficult.  A column = field.  So just state the columns that you want and/or state the columns that you do NOT want in your query:&lt;/P&gt;

&lt;P&gt;situation 1:  your search | fields + value_three&lt;BR /&gt;
situation 2: your search | fields + value_one&lt;BR /&gt;
situation 3: your search | fields + value_three, value_four, value_two&lt;BR /&gt;
                OR, your search | fields - value_one&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-specific-columns-from-a-table-using-a-search-command/m-p/180804#M52093</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2020-09-28T16:09:52Z</dc:date>
    </item>
  </channel>
</rss>

