<?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: help for my first chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309520#M39703</link>
    <description>&lt;P&gt;Hello and thanks&lt;BR /&gt;
i succeed to do my fits pie chart &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
but there is Something very stranhe&lt;BR /&gt;
in my count report i have to 3 entrie :&lt;/P&gt;

&lt;P&gt;RCAgentMgr  11 &lt;BR /&gt;
SMS Agent Host  288 &lt;BR /&gt;
Service de transfert intelligent en arrière-plan   1418&lt;/P&gt;

&lt;P&gt;But in the chart i havent the entrie "RCAgentMgr" and for the entrie Service de transfert intelligent i have the same number of events!&lt;BR /&gt;
do you have an idea please???&lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 06:55:42 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2018-04-02T06:55:42Z</dc:date>
    <item>
      <title>help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309515#M39698</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;In a Dashboard i use this code for doing a data synthesis&lt;BR /&gt;
index="wineventlog" sourcetype="wineventlog:*" "Type=Critique" OR "Type=Avertissement" | stats count by Type&lt;BR /&gt;
i would like to do a pie chart which gives me the percentage of critique and the percentage of avertissement&lt;BR /&gt;
could you help me please?&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 10:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309515#M39698</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-31T10:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309516#M39699</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Updated Answer]&lt;/STRONG&gt;&lt;BR /&gt;
Try the following query with visualization as Pie Chart:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="wineventlog" sourcetype="wineventlog:*" "Type=Critique" OR "Type=Avertissement" 
| stats count by Type
| eventstats sum(count) as Total
| eval percent=round((count/Total)*100,1)
| eval Type=Type."(count: ".count.", percent: ".percent.")"
| fields - count Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you are creating Pie Chart for the first time refer to Splunk Documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/PieChart"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/PieChart&lt;/A&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;@jip31, refer to one of my older answer for a similar question &lt;A href="https://answers.splunk.com/answers/591290/pie-chart-round-default-percentage.html"&gt;https://answers.splunk.com/answers/591290/pie-chart-round-default-percentage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 10:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309516#M39699</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-31T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309517#M39700</link>
      <description>&lt;P&gt;Sorry but for m'y first chart it doesnt help me...&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 13:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309517#M39700</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-31T13:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309518#M39701</link>
      <description>&lt;P&gt;@jip31, I have updated my answer please try out.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 16:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309518#M39701</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-31T16:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309519#M39702</link>
      <description>&lt;P&gt;So When you run above search and select Pie chart in the visualization tab, you don't get a chart? Is Type already exist as field?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 05:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309519#M39702</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-01T05:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309520#M39703</link>
      <description>&lt;P&gt;Hello and thanks&lt;BR /&gt;
i succeed to do my fits pie chart &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
but there is Something very stranhe&lt;BR /&gt;
in my count report i have to 3 entrie :&lt;/P&gt;

&lt;P&gt;RCAgentMgr  11 &lt;BR /&gt;
SMS Agent Host  288 &lt;BR /&gt;
Service de transfert intelligent en arrière-plan   1418&lt;/P&gt;

&lt;P&gt;But in the chart i havent the entrie "RCAgentMgr" and for the entrie Service de transfert intelligent i have the same number of events!&lt;BR /&gt;
do you have an idea please???&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 06:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309520#M39703</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-04-02T06:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309521#M39704</link>
      <description>&lt;P&gt;@jip31, can you add a screenshot? Do you see OTHERS slice instead of RCAgentMgr in the pie chart?&lt;BR /&gt;
You can add the following to Simple XML chart configuration to your dashboard to reduce the threshold to collapse Pie Slices to OTHERS category. You can do the same from UI Edit &amp;gt; Format Visualization option as well.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.0001&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Apr 2018 07:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309521#M39704</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-02T07:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309522#M39705</link>
      <description>&lt;P&gt;i havent enough karma to send screenshot....&lt;BR /&gt;
you can open it at &lt;A href="https://cjoint.com/c/HDciQyZZJUi"&gt;https://cjoint.com/c/HDciQyZZJUi&lt;/A&gt; &lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 08:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309522#M39705</guid>
      <dc:creator>jip31jip31</dc:creator>
      <dc:date>2018-04-02T08:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309523#M39706</link>
      <description>&lt;P&gt;Refer to following run anywhere dashboard which uses post processing to run the same search in two panels. Using Post processing data is fetched from index once and then statistical aggregates are passed over from base search over to the post process search.&lt;BR /&gt;
Read about Post processing Search documentation including Best Practices: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_searches_2"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_searches_2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also if you are learning Splunk Dashboards you should download and try out &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk Dashboard Examples App&lt;/A&gt; from Splunkbase which explains a lot of required concepts with examples.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4688iDBF7516803174BFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;First Chart&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="time" token="tokTime" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;QA
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Tabular Stats&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search id="baseSearchStats"&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level=* component!="Metrics"
| stats count by log_level
| rename log_level as Type&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$tokTime.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$tokTime.latest$&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;format type="color" field="count"&amp;gt;
          &amp;lt;colorPalette type="sharedList"&amp;gt;&amp;lt;/colorPalette&amp;gt;
          &amp;lt;scale type="sharedCategory"&amp;gt;&amp;lt;/scale&amp;gt;
        &amp;lt;/format&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Pie Chart&amp;lt;/title&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search base="baseSearchStats"&amp;gt;
          &amp;lt;query&amp;gt;| eventstats sum(count) as Total
 | eval percent=round((count/Total)*100,1)
 | eval Type=Type."(count: ".count.", percent: ".percent.")"
 | fields - count Total&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.0001&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.seriesColors"&amp;gt;[0x1e93c6,0xf2b827,0xd6563c]&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Apr 2018 09:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309523#M39706</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-02T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309524#M39707</link>
      <description>&lt;P&gt;@jip31jip31, splunk answers has an Image button (shortcut &lt;STRONG&gt;CTRL+G&lt;/STRONG&gt;) which will allow you to paste the web link to attach image to your comment/answer.&lt;/P&gt;

&lt;P&gt;You have to make sure your stats query in searches for stats table and pie chart are the same. Also that Splunk input tokens (in your case Time) is being passed to both the panels. One of the options would be to create a base search for your first stats table and then use the same search in your pie chart as post process search. This will also improve performance and ensure that same search runs for both panels.&lt;/P&gt;

&lt;P&gt;Please refer to my answer with Run Anywhere Example based on Splunk's _internal index for you to test and confirm.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 09:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309524#M39707</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-02T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309525#M39708</link>
      <description>&lt;P&gt;First&lt;BR /&gt;
i use this code for doing a chart report:&lt;BR /&gt;
index="*" DisplayName="RCAgentMgr" OR DisplayName="SMS Agent Host" OR DisplayName="Service de transfert intelligent en arrière-plan" Started="false" State="Stopped" | stats count by DisplayName | eventstats sum(count) as Total | eval percent=round((count/Total)*100,1) | eval DisplayName=DisplayName."(count: ".count.", percent: ".percent.")" | fields - count Total&lt;BR /&gt;
i dont know why but this code generate me only 2 label in the chart: SMS Agent Host and Service de Transfert intelligent&lt;/P&gt;

&lt;P&gt;Even if in my 3 others report by service, i a m able to collect datas!&lt;BR /&gt;
and concerning the code you sent me i have difficulties to adapt it&lt;BR /&gt;
can you confirm me that i have to put this code in UI or source of my Dashboard?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309525#M39708</guid>
      <dc:creator>jip31jip31</dc:creator>
      <dc:date>2020-09-29T18:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309526#M39709</link>
      <description>&lt;P&gt;First&lt;BR /&gt;
i use this code for doing a chart report:&lt;BR /&gt;
index="*" DisplayName="RCAgentMgr" OR DisplayName="SMS Agent Host" OR DisplayName="Service de transfert intelligent en arrière-plan" Started="false" State="Stopped" | stats count by DisplayName | eventstats sum(count) as Total | eval percent=round((count/Total)*100,1) | eval DisplayName=DisplayName."(count: ".count.", percent: ".percent.")" | fields - count Total&lt;BR /&gt;
i dont know why but this code generate me only 2 label in the chart: SMS Agent Host and Service de Transfert intelligent&lt;/P&gt;

&lt;P&gt;Even if in my 3 others report by service, i a m able to collect datas!&lt;BR /&gt;
and concerning the code you sent me i have difficulties to adapt it&lt;BR /&gt;
can you confirm me that i have to put this code in UI or source of my Dashboard?&lt;BR /&gt;
actually i have this code :&lt;/P&gt;

&lt;P&gt;First&lt;BR /&gt;
i use this code for doing a chart report:&lt;BR /&gt;
index="*" DisplayName="RCAgentMgr" OR DisplayName="SMS Agent Host" OR DisplayName="Service de transfert intelligent en arrière-plan" Started="false" State="Stopped" | stats count by DisplayName | eventstats sum(count) as Total | eval percent=round((count/Total)*100,1) | eval DisplayName=DisplayName."(count: ".count.", percent: ".percent.")" | fields - count Total&lt;BR /&gt;
i dont know why but this code generate me only 2 label in the chart: SMS Agent Host and Service de Transfert intelligent&lt;/P&gt;

&lt;P&gt;Even if in my 3 others report by service, i a m able to collect datas!&lt;BR /&gt;
and concerning the code you sent me i have difficulties to adapt it&lt;BR /&gt;
can you confirm me that i have to put this code in UI or source of my Dashboard?&lt;BR /&gt;
actually i have this code : &lt;/P&gt;

&lt;P&gt;2.First Chart3.12.55.&lt;BR /&gt;
    &lt;INPUT type="time" searchwhenchanged="true" token="tokTime" /&gt;5.&lt;LABEL&gt;&lt;/LABEL&gt;6.&lt;DEFAULT&gt;7.&lt;EARLIEST&gt;-24h@h&lt;/EARLIEST&gt;8.&lt;LATEST&gt;now&lt;/LATEST&gt;9.&lt;/DEFAULT&gt;QA&lt;BR /&gt;
10.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;FO_Services_Count&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Services_Count"&amp;gt;&amp;lt;/search&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;FO_Chart_Services&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Chart_Services"&amp;gt;&amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:50:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309526#M39709</guid>
      <dc:creator>jip31jip31</dc:creator>
      <dc:date>2020-09-29T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309527#M39710</link>
      <description>&lt;P&gt;@jip31jip31 please post code using the code button (&lt;CODE&gt;101010&lt;/CODE&gt;) on Splunk Answers. Also while posting a command you can click on &lt;CODE&gt;Add Comment&lt;/CODE&gt; link instead of posting the same as answer.&lt;/P&gt;

&lt;P&gt;Can you share the code from one of your other three reports?&lt;/P&gt;

&lt;P&gt;With the example I had shared, You should put the query from report in your first search and then reuse the same query in second panel using post processing. That way count should not differ.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 10:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309527#M39710</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-02T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309528#M39711</link>
      <description>&lt;P&gt;i dont know why but this code generate me only 2 label in the chart: SMS Agent Host and Service de Transfert intelligent =&amp;gt; YES IT WAS A SLOT TIME ISSUE! NOW IT S OK!&lt;BR /&gt;
AND NOW I ASLSO UNDERSTAND YOUR HTML CODE&lt;BR /&gt;
MANY MANY THANKS&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 10:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309528#M39711</guid>
      <dc:creator>jip31jip31</dc:creator>
      <dc:date>2018-04-02T10:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309529#M39712</link>
      <description>&lt;P&gt;@jip31jip31, glad it worked for you ... Please do Accept the answer I have provided to mark this question as answered and up vote the answers/comments that helped.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 10:54:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309529#M39712</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-02T10:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: help for my first chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309530#M39713</link>
      <description>&lt;P&gt;sorry i have a last question :&lt;BR /&gt;
where i put your code in "my" code&lt;/P&gt;

&lt;P&gt;YOUR CODE :&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;  First Chart&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;        -24h@h&lt;/LI&gt;
&lt;LI&gt;        now&lt;/LI&gt;
&lt;LI&gt;      QA&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;          index=_internal sourcetype=splunkd log_level=* component!="Metrics"&lt;/LI&gt;
&lt;LI&gt;| stats count by log_level&lt;/LI&gt;
&lt;LI&gt;| rename log_level as Type&lt;/LI&gt;
&lt;LI&gt;          $tokTime.earliest$&lt;/LI&gt;
&lt;LI&gt;          $tokTime.latest$&lt;/LI&gt;
&lt;LI&gt;          1&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;        10&lt;/LI&gt;
&lt;LI&gt;        none&lt;/LI&gt;
&lt;LI&gt;        none&lt;/LI&gt;
&lt;LI&gt;        false&lt;/LI&gt;
&lt;LI&gt;        progressbar&lt;/LI&gt;
&lt;LI&gt;        true&lt;/LI&gt;
&lt;LI&gt;        false&lt;/LI&gt;
&lt;LI&gt;        true&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;          | eventstats sum(count) as Total&lt;/LI&gt;
&lt;LI&gt; | eval percent=round((count/Total)*100,1)&lt;/LI&gt;
&lt;LI&gt; | eval Type=Type."(count: ".count.", percent: ".percent.")"&lt;/LI&gt;
&lt;LI&gt; | fields - count Total&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;        pie&lt;/LI&gt;
&lt;LI&gt;        0.0001&lt;/LI&gt;
&lt;LI&gt;        all&lt;/LI&gt;
&lt;LI&gt;        progressbar&lt;/LI&gt;
&lt;LI&gt;        [0x1e93c6,0xf2b827,0xd6563c]&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;MY CODE :&lt;/P&gt;

&lt;P&gt;2.FO_Stopped_Services3.12.55.&lt;BR /&gt;
    &lt;INPUT type="time" token="tokTime" searchwhenchanged="true" /&gt;5.&lt;LABEL&gt;&lt;/LABEL&gt;6.&lt;DEFAULT&gt;7.&lt;EARLIEST&gt;-24h@h&lt;/EARLIEST&gt;8.&lt;LATEST&gt;now&lt;/LATEST&gt;9.&lt;/DEFAULT&gt;QA&lt;BR /&gt;
10.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;FO_Stopped_Services_Synthesis&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Services_Count"&amp;gt;&amp;lt;/search&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
    &amp;lt;format type="color" field="count"&amp;gt;
      &amp;lt;colorPalette type="sharedList"&amp;gt;&amp;lt;/colorPalette&amp;gt;
      &amp;lt;scale type="sharedCategory"&amp;gt;&amp;lt;/scale&amp;gt;
    &amp;lt;/format&amp;gt;
  &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;chart&amp;gt;
    &amp;lt;title&amp;gt;FO_Stopped_Services_Chart&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Chart_Services"&amp;gt;&amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&amp;lt;/panel&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;FO_Stopped_BIT_Service&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Service_BITS"&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;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;FO_Stopped_PC Services_Service&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Service_PC Services"&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;/table&amp;gt;
&amp;lt;/panel&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;FO_Stopped_SCCM_Services&amp;lt;/title&amp;gt;
    &amp;lt;search ref="FO_Service_SCCM"&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;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/help-for-my-first-chart/m-p/309530#M39713</guid>
      <dc:creator>jip31jip31</dc:creator>
      <dc:date>2020-09-29T18:50:32Z</dc:date>
    </item>
  </channel>
</rss>

