<?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 turn a report with 4 columns into a dashboard with only 2 columns? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417620#M27495</link>
    <description>&lt;P&gt;&lt;STRONG&gt;[UPDATED ANSWER]&lt;/STRONG&gt; Based on updated details seems like removal of field is required in a chat visualization not table. You can try either one of the following (however, the percent value will not be available for further drilldown):&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 1)&lt;/STRONG&gt; use &lt;CODE&gt;| fields - percent&lt;/CODE&gt; in the search that refers to your report i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;search ref="Your Report with Three Columns"&amp;gt;| fields - percent&amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Option 2)&lt;/STRONG&gt; use chart configuration &lt;CODE&gt;charting.data.fieldHideList&lt;/CODE&gt; to hide unwanted field&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.data.fieldHideList"&amp;gt;percent&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;@viji261992, if you have a report that produces four columns i.e. &lt;CODE&gt;field1, field2, field3 and field4&lt;/CODE&gt;, you can add following Simple XML table option to show only two required fields i.e. &lt;CODE&gt;field1&lt;/CODE&gt; and &lt;CODE&gt;field2&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fields&amp;gt;field1,field2&amp;lt;/fields&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to Simple XML reference for Splunk table: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 13:20:47 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-10-05T13:20:47Z</dc:date>
    <item>
      <title>How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417618#M27493</link>
      <description>&lt;P&gt;I have a report with 4 columns in that I have to create a dashboard with only using 2 columns please help&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 07:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417618#M27493</guid>
      <dc:creator>viji261992</dc:creator>
      <dc:date>2018-10-05T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417619#M27494</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;

&lt;P&gt;Might need a few more details on this, are you look to join fields together to making the 4 columns into 2 or omit 2 columns completely? &lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417619#M27494</guid>
      <dc:creator>paulbannister</dc:creator>
      <dc:date>2018-10-05T13:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417620#M27495</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[UPDATED ANSWER]&lt;/STRONG&gt; Based on updated details seems like removal of field is required in a chat visualization not table. You can try either one of the following (however, the percent value will not be available for further drilldown):&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 1)&lt;/STRONG&gt; use &lt;CODE&gt;| fields - percent&lt;/CODE&gt; in the search that refers to your report i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;search ref="Your Report with Three Columns"&amp;gt;| fields - percent&amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Option 2)&lt;/STRONG&gt; use chart configuration &lt;CODE&gt;charting.data.fieldHideList&lt;/CODE&gt; to hide unwanted field&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.data.fieldHideList"&amp;gt;percent&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;@viji261992, if you have a report that produces four columns i.e. &lt;CODE&gt;field1, field2, field3 and field4&lt;/CODE&gt;, you can add following Simple XML table option to show only two required fields i.e. &lt;CODE&gt;field1&lt;/CODE&gt; and &lt;CODE&gt;field2&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fields&amp;gt;field1,field2&amp;lt;/fields&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to Simple XML reference for Splunk table: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417620#M27495</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-10-05T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417621#M27496</link>
      <description>&lt;P&gt;I want to omit 2 columns completely&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 05:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417621#M27496</guid>
      <dc:creator>viji261992</dc:creator>
      <dc:date>2018-10-06T05:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417622#M27497</link>
      <description>&lt;P&gt;Hi Niketnilay,&lt;/P&gt;

&lt;P&gt;index=opennms sourcetype=events | top limit=10 eventuei is the query I am running which is giving me the result in 3 columns like eventuei, count, percentage. In this I want only 2 columns (eventuei and count ) to be displayed in my dashboard.&lt;BR /&gt;
I need eventuei in the x-axis (with the uei names displayed) and y-axis should be count.&lt;BR /&gt;
Please help.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 05:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417622#M27497</guid>
      <dc:creator>viji261992</dc:creator>
      <dc:date>2018-10-06T05:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417623#M27498</link>
      <description>&lt;P&gt;refer to my updated answer with couple of options since your question is related to char and not table as expected from your original question.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Oct 2018 03:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417623#M27498</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-10-07T03:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I turn a report with 4 columns into a dashboard with only 2 columns?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417624#M27499</link>
      <description>&lt;P&gt;I tried the below command&lt;BR /&gt;
 | fields - percent&lt;BR /&gt;
i am getting error as "error in 'search' command:Unable to parse the search:Comparator'&amp;lt;' is missing a term on the left hand side.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:49:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-turn-a-report-with-4-columns-into-a-dashboard-with-only/m-p/417624#M27499</guid>
      <dc:creator>viji261992</dc:creator>
      <dc:date>2018-10-08T08:49:33Z</dc:date>
    </item>
  </channel>
</rss>

