<?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 do I hide a column in a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425276#M121941</link>
    <description>&lt;P&gt;or &lt;BR /&gt;
.... | fields - 'list of fields you want to exclude'&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 20:49:07 GMT</pubDate>
    <dc:creator>rdownie</dc:creator>
    <dc:date>2018-12-06T20:49:07Z</dc:date>
    <item>
      <title>How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425273#M121938</link>
      <description>&lt;P&gt;Imagine a scenario where I need to have a hidden column in my table to serve a passing functionality.&lt;/P&gt;

&lt;P&gt;Example: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I create a second column (let’s call it XYZ) with the appropriate whichever text (using replace, lower, etc) to be passed into URLs with $click.XYZ$ &lt;/LI&gt;
&lt;LI&gt;I can use now 'condition.. ' inside of 'drill down' to specify that I actually want my first column ABC to be clickable ('field=ABC') and serve the passing functionality.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;How do I hide now second XYZ column?&lt;/STRONG&gt; - Please be specific code wise how to do it&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 17:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425273#M121938</guid>
      <dc:creator>dgomonov</dc:creator>
      <dc:date>2018-12-06T17:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425274#M121939</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;try this command...&lt;BR /&gt;
| fields 'list of fields you want to be displayed'&lt;/P&gt;

&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;Jacob&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 18:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425274#M121939</guid>
      <dc:creator>hijacob</dc:creator>
      <dc:date>2018-12-06T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425275#M121940</link>
      <description>&lt;P&gt;besides you can try&lt;BR /&gt;
|fields - XYZ column&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 19:16:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425275#M121940</guid>
      <dc:creator>hijacob</dc:creator>
      <dc:date>2018-12-06T19:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425276#M121941</link>
      <description>&lt;P&gt;or &lt;BR /&gt;
.... | fields - 'list of fields you want to exclude'&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 20:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425276#M121941</guid>
      <dc:creator>rdownie</dc:creator>
      <dc:date>2018-12-06T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425277#M121942</link>
      <description>&lt;P&gt;Just to make sure I understand, you have a dashboard panel with a stats table. The table has columns fieldA, fieldB, fieldC, fieldD and you want to use the value in fieldC, but not display that column in the stats table. This might be for a key you don't want to display, but use as part of a drilldown.&lt;/P&gt;

&lt;P&gt;One way to do it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;Your title here&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt; (your search here) | table fieldA fieldB fieldC fieldD &amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;-1d@d&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
    &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
    &amp;lt;fields&amp;gt;fieldA,fieldB,fieldD&amp;lt;/fields&amp;gt;
    &amp;lt;drilldown&amp;gt;
      &amp;lt;set token="clientTok"&amp;gt;$row.fieldC$&amp;lt;/set&amp;gt;
      &amp;lt;set token="forms.clientTok"&amp;gt;$row.fieldC$&amp;lt;/set&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The query should output all the fields you want to display, plus the one you want to hide. I just used table as an example, but you likely already have them listed by stats or something similar. The fields section controls fields that you want to see in the panel. The token clientTok can then be used in other panels, such as the target panel, using the $clientTok$.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 20:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/425277#M121942</guid>
      <dc:creator>jpolvino</dc:creator>
      <dc:date>2018-12-06T20:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I hide a column in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/603742#M210054</link>
      <description>&lt;P&gt;Work perfectly !&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 11:47:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-hide-a-column-in-a-table/m-p/603742#M210054</guid>
      <dc:creator>Amiel_</dc:creator>
      <dc:date>2022-06-29T11:47:59Z</dc:date>
    </item>
  </channel>
</rss>

