<?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 hide a column in a table, but use the hidden field in the chart for a report? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202297#M58680</link>
    <description>&lt;P&gt;You can use CSS for the table. Include the CSS in your dashboard. See the code below, modify as per your requirement&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;td:nth-child(4) {
  display: none
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Apr 2016 12:14:09 GMT</pubDate>
    <dc:creator>meenal901</dc:creator>
    <dc:date>2016-04-14T12:14:09Z</dc:date>
    <item>
      <title>How to hide a column in a table, but use the hidden field in the chart for a report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202296#M58679</link>
      <description>&lt;P&gt;Hello experts, &lt;/P&gt;

&lt;P&gt;I have a case where I need to show a field in a table, but I need to hide it in the chart.&lt;/P&gt;

&lt;P&gt;Search:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index = ..... my search | stats ..... by field_1| eval field_1 = "Hello"| eval field_4  = "Hello\nHow are you"| table field_1, field_2, field_3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Table:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          field_1        field_2    field_3
      1:  Hello          foo        jjoooo
          How are you                 
      2:  Hello          malware    jhon
          How are you                 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Issues: When try to use the field_1 in the bar chart, I see the value as empty because of a long string.&lt;/P&gt;

&lt;P&gt;I wasn't able to create a new field ( field_4) with previous value of field_1 and show it on the chart, but not in the table. The chart in the report takes input from the table. I need to hide the field_1 column in the table and want to display the field_4 in the bar chart.&lt;/P&gt;

&lt;P&gt;Note: I faced the same issue in the dashboard. I used fields tag in the xml to hide.&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Nagee. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202296#M58679</guid>
      <dc:creator>nagendra008</dc:creator>
      <dc:date>2020-09-29T09:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a column in a table, but use the hidden field in the chart for a report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202297#M58680</link>
      <description>&lt;P&gt;You can use CSS for the table. Include the CSS in your dashboard. See the code below, modify as per your requirement&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;td:nth-child(4) {
  display: none
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Apr 2016 12:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202297#M58680</guid>
      <dc:creator>meenal901</dc:creator>
      <dc:date>2016-04-14T12:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a column in a table, but use the hidden field in the chart for a report?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202298#M58681</link>
      <description>&lt;P&gt;First answer here shows how to do what you need, without CSS &lt;A href="https://answers.splunk.com/answers/204419/do-this-in-simple-xml.html"&gt;https://answers.splunk.com/answers/204419/do-this-in-simple-xml.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 16:38:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-column-in-a-table-but-use-the-hidden-field-in-the/m-p/202298#M58681</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2016-06-27T16:38:17Z</dc:date>
    </item>
  </channel>
</rss>

