<?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 indicate an average value on a chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58745#M14404</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I am putting together a dashboard and have a bar graph doing the total counts.  Is there a way to do an overlay or a CSS layer or something that indicates the average value on the bar chart?  My original thought was to do a single line across the chart where the average value is.&lt;/P&gt;

&lt;P&gt;Any thoughts?&lt;/P&gt;

&lt;P&gt;Edited:  More information and explanation below.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2012 20:18:39 GMT</pubDate>
    <dc:creator>wwhitener</dc:creator>
    <dc:date>2012-01-26T20:18:39Z</dc:date>
    <item>
      <title>indicate an average value on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58745#M14404</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I am putting together a dashboard and have a bar graph doing the total counts.  Is there a way to do an overlay or a CSS layer or something that indicates the average value on the bar chart?  My original thought was to do a single line across the chart where the average value is.&lt;/P&gt;

&lt;P&gt;Any thoughts?&lt;/P&gt;

&lt;P&gt;Edited:  More information and explanation below.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2012 20:18:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58745#M14404</guid>
      <dc:creator>wwhitener</dc:creator>
      <dc:date>2012-01-26T20:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: indicate an average value on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58746#M14405</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;You should be able to add a new field in your Search and use the avg_trans (numeric) function. &lt;BR /&gt;
In our example, we have a chart with two calculations on dynamic and one static (e.g. the avg_trans (numeric)) and the search looks something like that:&lt;BR /&gt;
     | eval bytes = bytes / 50 | eval avg_trans = 95&lt;/P&gt;

&lt;P&gt;As we are using Real Time Search, it does not displays it at Bar Chart but you should be able to change the format of your graph. &lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;Lionel &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58746#M14405</guid>
      <dc:creator>Lionel</dc:creator>
      <dc:date>2020-09-28T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: indicate an average value on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58747#M14406</link>
      <description>&lt;P&gt;I'm kind of looking for something like this.&lt;/P&gt;

&lt;P&gt;I have, in total 100 instances of X that appear.  Because X is a string, I use the count function to get a total count--call it XCount.&lt;/P&gt;

&lt;P&gt;When I click on the bar for "X" in the chart, I want to see a second table/chart/etc that shows the count for X (CountX), what the average value for CountX is, what the maximum value has been for CountX, and the minimum value for CountX.&lt;/P&gt;

&lt;P&gt;Ideally, I'd like to put the line on the initial chart indicating the average value for CountX.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 15:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58747#M14406</guid>
      <dc:creator>wwhitener</dc:creator>
      <dc:date>2012-01-27T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: indicate an average value on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58748#M14407</link>
      <description>&lt;P&gt;Thanks for pointing me in the right direction.&lt;/P&gt;

&lt;P&gt;I ended up using streamstats to do the running average, minimum and maximum.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 15:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/indicate-an-average-value-on-a-chart/m-p/58748#M14407</guid>
      <dc:creator>wwhitener</dc:creator>
      <dc:date>2012-01-30T15:44:54Z</dc:date>
    </item>
  </channel>
</rss>

