<?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 display percentage values in the Y-axis? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317891#M39612</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I validated the above said code and please find my queries below:&lt;/P&gt;

&lt;P&gt;Old query:&lt;BR /&gt;
1) | bin _time span=1d&lt;BR /&gt;
2) | eval _time=strftime(_time,"%Y/%m/%d")&lt;/P&gt;

&lt;P&gt;This worked perfectly, displaying top 20 IP address in the X-axis for selected time range, except for real time events. &lt;/P&gt;

&lt;P&gt;New query:&lt;/P&gt;

&lt;P&gt;1) | bin _time span=1m&lt;BR /&gt;
2) | eval _time=strftime(_time,"%H:%M"). or | eval _time=strftime(_time,"%Y/%m/%d") produces same output for timespan=1m. Is there a need to change this?&lt;/P&gt;

&lt;P&gt;Moreover when I change timespan=1m , output is produced even for real time events as required but it is listing almost all the IP address in the X-axis making the dashboard look clumsy. Instead I want only top 20 IP address listed for real as well as relative events.&lt;/P&gt;

&lt;P&gt;Is that possible?&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:29:27 GMT</pubDate>
    <dc:creator>muralisushma7</dc:creator>
    <dc:date>2020-09-29T19:29:27Z</dc:date>
    <item>
      <title>How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317868#M39589</link>
      <description>&lt;P&gt;Hi,&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/4716iED2AE83AD6D88804/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;As seen in the above image, you can see that visualization chart displays the top values of the field: Source Address.&lt;BR /&gt;
X-axis displays the source address and Y-axis the count. I also need to include the percent value which is seen in the table( grayed out in the image) in the chart. How can I do that? Main aim is to derive the source address vs percentage use.&lt;BR /&gt;
Kindly help me on this quickly.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 01:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317868#M39589</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-09T01:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317869#M39590</link>
      <description>&lt;P&gt;@muralisushma7, please try the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;YourBaseSearch&amp;gt;
|  top 20 source_address
|  chart sum(count) as Total last(percent) as percent by source_address
|  sort - Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Optional Suggestions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/STRONG&gt; &lt;BR /&gt;
1. You should also consider option to create a &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Chartcontrols#Chart_overlay_example_.28dual_axis.29"&gt;Chart Overlay&lt;/A&gt; with &lt;CODE&gt;percent&lt;/CODE&gt; field over the Total. &lt;BR /&gt;
2. Another option for you would be to use your current query as the base search for &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Examples_2"&gt;post processing&lt;/A&gt; and use the percent field in the post process search to plot a pie chart corresponding to the Column Chart that you have.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 03:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317869#M39590</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-09T03:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317870#M39591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the query, I ran it and i can see the graph as I would like to. Just to re-confirm, this query gives the first 20 source addresses with highest percentage usage right? Moreover if I save this as a dashboard, will the graph be dynamic always, I mean the first 20 source address and its value keeps on changing forever( getting updated) or do we need some setting to be done.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317870#M39591</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-09T06:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317871#M39592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the query. Just to re-confirm, this query produces first 20 source addresses with highest percentage use isn't it? Moreover if I save this visualization chart as dashboard, it would be a dynamic one right( the first 20 source addresses with the corresponding % keeps on updating as and when) or do we need to some setting to be done?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317871#M39592</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-09T06:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317872#M39593</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Along with that can you also let me know, how to include Date in the graph above. Since I created this as dashboard, go to edit dashboard and selected add input as Time range, but I dont think it is giving me the correct output. &lt;/P&gt;

&lt;P&gt;Can you guide me on this?&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 12:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317872#M39593</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-09T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317873#M39594</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211556"&gt;@muralisushma7&lt;/a&gt;, Yes basically the top command gets both count and percent. You can use any appropriate method to get the same for each source_address as there will be only row per source_address. So you can also use the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|  top 20 source_address
|  chart last(count) as Total last(percent) as percent by source_address
|  sort - Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm. If it works don't forget to accept/up vote the answer/comment.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317873#M39594</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T18:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317874#M39595</link>
      <description>&lt;P&gt;@muralisushma7, first off instead of posting Answer, try to add a comment under previous answer/comment so that every post does not go for moderation.&lt;/P&gt;

&lt;P&gt;Seems like you have taken right steps to add Time input. Hopefully you have added the time input tokens to your search query as well. Close out the browser and reload the dashboard in case you have changed the Time Input token name as by default it picks up tokens &lt;CODE&gt;field1.earliest&lt;/CODE&gt; and &lt;CODE&gt;field1.latest&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Refer to documentation for details.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms#Form_with_time_inputs_example"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms#Form_with_time_inputs_example&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 13:04:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317874#M39595</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-09T13:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317875#M39596</link>
      <description>&lt;P&gt;My search query is: source="jnpr-syslog" policy_name=Internet_Lab_Policy_Gateway_Logging source | top limit=20 source_address | chart sum(count) as Total last(percent) as percent by source_address |  sort - Total | timechart count by percent. &lt;/P&gt;

&lt;P&gt;Something is wrong here?&lt;/P&gt;

&lt;P&gt;What i just need is the source address vs percentage on a given day.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317875#M39596</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2020-09-29T18:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317876#M39597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have two queries as below: &lt;/P&gt;

&lt;P&gt;source="jnpr-syslog" policy_name=Internet_Lab_Policy_Gateway_Logging source | top limit=20 source_address | chart sum(count) as Total last(percent) as percent by source_address |  sort - Total&lt;/P&gt;

&lt;P&gt;eval date_wday=strftime(_time,"%u") | timechart span=1d count by source_address&lt;/P&gt;

&lt;P&gt;How to combine both into single query.&lt;/P&gt;

&lt;P&gt;My final requirement is to display the source address versus max percentage use for a given day.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317876#M39597</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2020-09-29T18:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317877#M39598</link>
      <description>&lt;P&gt;I am waiting for this.&lt;/P&gt;

&lt;P&gt;Can you please let me know how to proceed.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 07:18:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317877#M39598</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-10T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317878#M39599</link>
      <description>&lt;P&gt;@muralisushma7, please try the following search. If you are on Splunk 6.6 or higher you can use Trellis Layout to break the timechart by Time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; source="jnpr-syslog" policy_name=Internet_Lab_Policy_Gateway_Logging source 
| bin _time span=1d
| stats count as Count by source_address _time
| eventstats sum(Count) as Total by _time
| eval "Count%"=round((Count/Total)*100,2)
| fields - Total
| sort - _time Count
| streamstats count as sno by _time
| search sno&amp;lt;=20
| fields - sno
| eval _time=strftime(_time,"%Y/%m/%d")
| rename _time as Time
| stats last(Count) as Count last("Count%") as "Count%" by Time source_address
| sort - Count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following is a run anywhere dashboard example based on Splunk's _internal index&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/4708i8FD2CE308C34839A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Please find the Simple XML dashboard code for example above:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Timechart with Volume and Percent with Trellis&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;&amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&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;-7d@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/default&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;title&amp;gt;Daily Top 10 Errors by Component&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!=INFO
| bin _time span=1d
| stats count as Error by component _time
| eventstats sum(Error) as Total by _time
| eval "Error%"=round((Error/Total)*100,2)
| fields - Total
| sort - _time Error
| streamstats count as sno by _time
| search sno&amp;lt;=10
| fields - sno
| eval _time=strftime(_time,"%Y/%m/%d")
| rename _time as Time
| stats last(Error) as Error last("Error%") as "Error%" by Time component
| sort - Error&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="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;-45&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.abbreviation"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.overlayFields"&amp;gt;Error%&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.lineWidth"&amp;gt;2&amp;lt;/option&amp;gt;
        &amp;lt;option name="height"&amp;gt;600&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.splitBy"&amp;gt;Time&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>Tue, 10 Apr 2018 10:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317878#M39599</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-10T10:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317879#M39600</link>
      <description>&lt;P&gt;@muralisushma7 please see attached an example based on Trellis Layout (will work if you are on Splunk 6.6 or higher).&lt;/P&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 10:18:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317879#M39600</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-10T10:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317880#M39601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are using Splunk 6.5.1 version, so kindly let me know how to achieve the above dashboard.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 10:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317880#M39601</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-10T10:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317881#M39602</link>
      <description>&lt;P&gt;Thanks Niketnilay for the code. I manipulated the above code to suit our environment and it is working as required. One small information I would like to know, how to bypass the SPLUNK login configured using LDAP authentication.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 04:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317881#M39602</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-04-11T04:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317882#M39603</link>
      <description>&lt;P&gt;@muralisushma7 is there a single Query in your Dashboard or multiple? If you create a Scheduled Report, you can embed the same in an HTML page and share HTML page with users. Other option would be PDF delivery of the report/dashboard (however, many visualizations may not work correctly with scheduled PDF delivery).&lt;/P&gt;

&lt;P&gt;There would be an option to embed dashboard to your own webpage as well. However, it would not be a recommended approach: &lt;A href="https://answers.splunk.com/answers/582632/how-do-you-use-custom-xml-in-reports-from-dashboar.html"&gt;https://answers.splunk.com/answers/582632/how-do-you-use-custom-xml-in-reports-from-dashboar.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317882#M39603</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-11T08:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317883#M39604</link>
      <description>&lt;P&gt;Hi Niketnilay,&lt;/P&gt;

&lt;P&gt;For  the below query, which you helped me out:&lt;/P&gt;

&lt;P&gt;source="jnpr-syslog" policy_name=Internet_Lab_Policy_Gateway_Logging source &lt;BR /&gt;
 | bin _time span=1d&lt;BR /&gt;
 | stats count as New_Connections by source_address _time&lt;BR /&gt;
 | eventstats sum(New_Connections) as Total by _time&lt;BR /&gt;
 | eval "%New_Connections"=round((New_Connections/Total)*100,2)&lt;BR /&gt;
 | fields - Total&lt;BR /&gt;
 | sort - _time New_Connections | streamstats count as sno by _time&lt;BR /&gt;
 | search sno&amp;lt;=20&lt;BR /&gt;
 | fields - sno&lt;BR /&gt;
 | eval _time=strftime(_time,"%Y/%m/%d")&lt;BR /&gt;
 | rename _time as Time&lt;BR /&gt;
 | stats last(New_Connections) as New_Connections last("%New_Connections") as "%New_Connections" by source_address&lt;BR /&gt;
 | sort - New_Connections &lt;/P&gt;

&lt;P&gt;This query don't return an output when ran in fast mode. When in verbose mode it gives the output. Using this query a dashboard has been created and by default it runs in fast mode. The dashboard also has time as input. As a result, when I select a real time data i.e. 1 minute window, the query does not produce any output as it is in fast mode, when i change it to verbose mode manually it gives the output. How to make the dashboard run permanently with the verbose mode or else how to change the query so that it gives output even when ran in the fast mode.&lt;/P&gt;

&lt;P&gt;Let me know if you need any more information.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317883#M39604</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2020-09-29T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317884#M39605</link>
      <description>&lt;P&gt;Are you getting data every 1 minute?&lt;BR /&gt;
Can you take out second line &lt;CODE&gt;| bin _time span=1d&lt;/CODE&gt; when you run in real-time mode and test?&lt;BR /&gt;
Also if you have span=1d for your stats, what is the need for real-time 1 min window?&lt;BR /&gt;
Instead of real-time &lt;CODE&gt;1 minute windows&lt;/CODE&gt; can you try adding panel refresh every 1 minute instead?&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 17:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317884#M39605</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-14T17:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317885#M39606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes we are getting data every minute and real time events exists. Previously we were not bothered about it and the query was good enough but now we even wish to see the real time events graph. As you said I tried removing the | bin_time span=1d, doing so the real time events generated are different from when time span is included. What I exactly mean is, when time span is included and time window of 1 minute is selected, output generated is different from when time span not included and time window of 1 minute is selected. Why is that difference? What can be done?&lt;BR /&gt;
Coming to adding a panel to refresh every minute. I am not sure how to achieve this.&lt;/P&gt;

&lt;P&gt;Kindly respond.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 12:18:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317885#M39606</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-05-15T12:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317886#M39607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes we are having real time events. Previously we were not bothered about it, but now we even consider it.&lt;BR /&gt;
As said, I removed the line |bin_time span=1d and ran the query, it does produces the output irrespective of the modes it is in. However the output generated when I remove the line time span in the query for 1 minute window in verbose mode is different from not removing the time span from the query for 1 minute window in the verbose mode. Why is that difference? Why both the outputs are not correct. Which one should i think is correct?&lt;/P&gt;

&lt;P&gt;Please guide.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 13:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317886#M39607</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-05-15T13:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display percentage values in the Y-axis?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317887#M39608</link>
      <description>&lt;P&gt;Sorry for the double comments. &lt;/P&gt;

&lt;P&gt;I mistakenly did it twice.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;
Sushma.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 14:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-percentage-values-in-the-Y-axis/m-p/317887#M39608</guid>
      <dc:creator>muralisushma7</dc:creator>
      <dc:date>2018-05-15T14:09:32Z</dc:date>
    </item>
  </channel>
</rss>

