<?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: Could you help me link a pie chart with an input token? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459377#M30142</link>
    <description>&lt;P&gt;Nobody can't help me please??&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 07:49:45 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2018-11-06T07:49:45Z</dc:date>
    <item>
      <title>Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459376#M30141</link>
      <description>&lt;P&gt;hello&lt;/P&gt;

&lt;P&gt;I use the code below for doing a pie chart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=windows sourcetype="wineventlog:system" SourceName="Disk" EventCode=7 Type="Critique" 
| dedup _time 
| stats count by EventCode
| eventstats sum(count) as Total 
| eval percent=round((count/Total)*100,1) 
| eval EventCode=EventCode."(count: ".count.", percent: ".percent.")"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need to update automatically this pie chart from an input token which represents the hostname.&lt;/P&gt;

&lt;P&gt;I have something like this, but it doesn't work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by EventCode, host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;have you an idea please???&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 13:29:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459376#M30141</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-05T13:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459377#M30142</link>
      <description>&lt;P&gt;Nobody can't help me please??&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 07:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459377#M30142</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-06T07:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459378#M30143</link>
      <description>&lt;P&gt;@jip31,&lt;/P&gt;

&lt;P&gt;if you just want to filter based on  the host name from the token,  then try adding this to your base search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     index=windows sourcetype="wineventlog:system" SourceName="Disk" EventCode=7 Type="Critique"  host=$hostname$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Nov 2018 08:45:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459378#M30143</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-11-06T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459379#M30144</link>
      <description>&lt;P&gt;hi it's what i m doing but when i m doing this in my report I cant have any results....&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 10:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459379#M30144</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-09T10:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459380#M30145</link>
      <description>&lt;P&gt;Try one of the hostnames which is a candidate for $hostname$ and search  in search window and see if it returns&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 12:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459380#M30145</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-11-09T12:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Could you help me link a pie chart with an input token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459381#M30146</link>
      <description>&lt;P&gt;pearhaps I have bad explained&lt;BR /&gt;
my token works with * or with an exact host&lt;BR /&gt;
but i would like to have no pie chart if a wrong host is entered in the token&lt;BR /&gt;
even with a wrong host actually my pie chart is always displayed....&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 14:00:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Could-you-help-me-link-a-pie-chart-with-an-input-token/m-p/459381#M30146</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-12T14:00:52Z</dc:date>
    </item>
  </channel>
</rss>

