<?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: overlay chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310791#M174664</link>
    <description>&lt;P&gt;the issue is the max is also grouped by host when displayed in charthttps://goo.gl/p8a5Wd&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 14:51:26 GMT</pubDate>
    <dc:creator>maniishpawar</dc:creator>
    <dc:date>2017-05-25T14:51:26Z</dc:date>
    <item>
      <title>overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310785#M174658</link>
      <description>&lt;P&gt;how to create a single chart with two values.&lt;BR /&gt;
one showing sum of requests in span=5m window&lt;BR /&gt;
and other showing request processed by each server in that 5m window.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 20:24:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310785#M174658</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-24T20:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310786#M174659</link>
      <description>&lt;P&gt;do you have some of the syntax that you're working with?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|timechart limit=0 span=5m sum(requests) sum(requestProcessed) by server
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can go into the format section and click on 'chart overlay' and select the field you'd like to overlay, if you want, otherwise they'll both be on the same axis. either way, this might work, depending on the fieldnames.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 20:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310786#M174659</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-24T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310787#M174660</link>
      <description>&lt;P&gt;index=myapp* sourcetype=iis*  | bucket _time span=5m| eventstats count as _tcount1 by _time | timechart avg(_tcount1) count by host&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:11:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310787#M174660</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2020-09-29T14:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310788#M174661</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myapp* sourcetype=iis* | bucket _time span=5m| eventstats count as _tcount1 by _time | chart limit=0 max(_tcount1) count by _time host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 May 2017 20:40:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310788#M174661</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-24T20:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310789#M174662</link>
      <description>&lt;P&gt;this didnt gave the correct results.&lt;BR /&gt;
Here is the requirement&lt;BR /&gt;
for a given instant of time , say 9;00 to 9:05 get a total count of request received across all host ( 30000)&lt;BR /&gt;
then for the same 9:00 to 9:05 window, i want to show how much requests each host served , say 6 hosts each serving 5000&lt;/P&gt;

&lt;P&gt;so the graph should show me line graph for each host req count and &lt;BR /&gt;
bar group for total count of 9:00-9:05 window&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 13:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310789#M174662</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-25T13:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310790#M174663</link>
      <description>&lt;P&gt;what is my syntax showing you after you format it as a chart overlay and change one to bar and one to line? can you show me? I think i understand what you're wanting, but i'm just not sure what's wrong. The eventstats should give a total count for all events every 5 minutes and then the chart command would show the value (max) of that on the 5 minute interval and also count the events by host and 5 minute interval.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.0/Viz/Chartcontrols#Chart_overlay_example_.28dual_axis.29"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.0/Viz/Chartcontrols#Chart_overlay_example_.28dual_axis.29&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 13:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310790#M174663</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-25T13:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310791#M174664</link>
      <description>&lt;P&gt;the issue is the max is also grouped by host when displayed in charthttps://goo.gl/p8a5Wd&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 14:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310791#M174664</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-25T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310792#M174665</link>
      <description>&lt;P&gt;&lt;A href="https://goo.gl/JGoMiD"&gt;https://goo.gl/JGoMiD&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 14:53:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310792#M174665</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-25T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310793#M174666</link>
      <description>&lt;P&gt;try adding:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|foreach max* [eval tcount1='&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;']|fields - max*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 May 2017 15:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310793#M174666</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-25T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310794#M174667</link>
      <description>&lt;P&gt;great this works just perfect.&lt;BR /&gt;
Can you please help me understand  foreach max* [eval tcount1='&amp;lt;&amp;gt;']|fields - max*.&lt;/P&gt;

&lt;P&gt;specifically  [eval tcount1='&amp;lt;&amp;gt;']|fields - max*&lt;BR /&gt;
so far I can infer that for all the fields that start with max* its evaluating tcount1.&lt;BR /&gt;
but how is it getting only one value of tcount1.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310794#M174667</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-25T15:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310795#M174668</link>
      <description>&lt;P&gt;foreach takes all fields specified (in this case all fields beginning with &lt;STRONG&gt;max&lt;/STRONG&gt;) and can do evaluations on them. so we're evaluating a new field called &lt;STRONG&gt;tcount1&lt;/STRONG&gt; and grabbing the values of the fields we call in the &lt;STRONG&gt;foreach&lt;/STRONG&gt; statement. Since they're the same value for every time increment, i wasn't concerned about adding them together, so all we need is to call it once. if we needed to add them together, we might use &lt;STRONG&gt;MATCHSTR&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach#Syntax"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Foreach#Syntax&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310795#M174668</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-05-25T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: overlay chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310796#M174669</link>
      <description>&lt;P&gt;Thank you for the explanation.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 15:56:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/overlay-chart/m-p/310796#M174669</guid>
      <dc:creator>maniishpawar</dc:creator>
      <dc:date>2017-05-25T15:56:26Z</dc:date>
    </item>
  </channel>
</rss>

