<?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 chart field1 by field2 and overlay by aggregate in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203797#M43419</link>
    <description>&lt;P&gt;Thanks. I had got it fixed&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2016 20:20:44 GMT</pubDate>
    <dc:creator>kabSplunk</dc:creator>
    <dc:date>2016-11-12T20:20:44Z</dc:date>
    <item>
      <title>How to chart field1 by field2 and overlay by aggregate</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203794#M43416</link>
      <description>&lt;P&gt;I have two fields &lt;BR /&gt;
field1 as response time &lt;BR /&gt;
field 2 as instance name&lt;/P&gt;

&lt;P&gt;I want to plot the response time by instance name and overlay the average response time of a single instance name.&lt;/P&gt;

&lt;P&gt;Data is like&lt;BR /&gt;
Instance1 responsetime1&lt;BR /&gt;
Instance1 responsetime2&lt;BR /&gt;
:&lt;BR /&gt;
Instance1 responsetimeN&lt;BR /&gt;
Instance2 responsetime1&lt;BR /&gt;
Instance2 responsetime2&lt;BR /&gt;
:&lt;BR /&gt;
Instance2 responsetimeN&lt;BR /&gt;
:&lt;BR /&gt;
and so on.&lt;/P&gt;

&lt;P&gt;So I want chart of responsetime by instance name and an overlay line of avg(responsetime) of only single instance say instance5&lt;/P&gt;

&lt;P&gt;Can you please help.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 04:55:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203794#M43416</guid>
      <dc:creator>kabSplunk</dc:creator>
      <dc:date>2016-11-03T04:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart field1 by field2 and overlay by aggregate</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203795#M43417</link>
      <description>&lt;P&gt;HI KabSplunk, &lt;/P&gt;

&lt;P&gt;Please try the following: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Run the following search: &lt;/P&gt;

&lt;P&gt;sourcetye=&lt;MY_SOURCETYPE&gt; | chart count, sum(responsetime) AS total_responsetime by instance | eval avg_responsetime = total_responsetime/count&lt;/MY_SOURCETYPE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;After you get the statistics, go to &lt;STRONG&gt;Visualization&lt;/STRONG&gt;. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Select &lt;STRONG&gt;Column Chart&lt;/STRONG&gt;. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Click &lt;STRONG&gt;Format&lt;/STRONG&gt; and select ** Chart Overlay**. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;Overlay&lt;/STRONG&gt; field, type &lt;EM&gt;avg_responsetime&lt;/EM&gt;.  &lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;You should see total_responsetime as columns on the y axis overlayed by the avg_bytes values. Instances are on the x axis.  &lt;/P&gt;

&lt;P&gt;Hope it helps. Thanks!&lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203795#M43417</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2020-09-29T11:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart field1 by field2 and overlay by aggregate</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203796#M43418</link>
      <description>&lt;P&gt;The search string was not correctly displayed; should be: &lt;/P&gt;

&lt;P&gt;sourcetye= my_sourcetype | chart count, sum(responsetime) AS total_responsetime by instance | eval avg_responsetime = total_responsetime/count&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203796#M43418</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2020-09-29T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart field1 by field2 and overlay by aggregate</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203797#M43419</link>
      <description>&lt;P&gt;Thanks. I had got it fixed&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2016 20:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-chart-field1-by-field2-and-overlay-by-aggregate/m-p/203797#M43419</guid>
      <dc:creator>kabSplunk</dc:creator>
      <dc:date>2016-11-12T20:20:44Z</dc:date>
    </item>
  </channel>
</rss>

