<?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 compare Column Chart with Line Chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475710#M133686</link>
    <description>&lt;P&gt;Hi igschloessl,&lt;BR /&gt;
did you explored the possibility to use Chart Overlay?&lt;BR /&gt;
You can see an exmple in Splunk Dashboard Examples App ( &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;You could try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
    &amp;lt;label&amp;gt;Chart Overlay&amp;lt;/label&amp;gt;
    &amp;lt;description&amp;gt;Show limits and other data on one chart.&amp;lt;/description&amp;gt;
    &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
        &amp;lt;input type="time" token="time" searchWhenChanged="true"&amp;gt;
            &amp;lt;label/&amp;gt;
            &amp;lt;default&amp;gt;
                &amp;lt;earliest&amp;gt;-60m@m&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;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;panel&amp;gt;
            &amp;lt;chart&amp;gt;
                &amp;lt;title&amp;gt;Chart Overlay w/ Single Axis&amp;lt;/title&amp;gt;
                &amp;lt;search&amp;gt;
                    &amp;lt;query&amp;gt;
                        index=proxy earliest=-1month@month latest=@month 
                       | timechart span=1w count by dest_host usenull=false limit=5
                       | addtotals
                    &amp;lt;/query&amp;gt;
                    &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
                    &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
                &amp;lt;/search&amp;gt;
                &amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.legend.masterLegend"&amp;gt;null&amp;lt;/option&amp;gt;
                &amp;lt;option name="height"&amp;gt;300&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.chart.overlayFields"&amp;gt;total&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.fieldColors"&amp;gt;{"count": 0x639BF1, "average":0xFF5A09}&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;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 15:27:42 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-11-05T15:27:42Z</dc:date>
    <item>
      <title>How to compare Column Chart with Line Chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475709#M133685</link>
      <description>&lt;P&gt;I need to show in a column chart the count for the top 5 destination hosts in proxy logs and above it a line of summed counts of all proxy logs.&lt;BR /&gt;
So I need two panels in one.&lt;/P&gt;

&lt;P&gt;My search for the column chart is the following:&lt;/P&gt;

&lt;P&gt;index=proxy earliest=-1month@month latest=@month | timechart span=1w count by dest_host usenull=false limit=5&lt;/P&gt;

&lt;P&gt;I also need to add the overall count line with the following search:&lt;BR /&gt;
index=proxy earliest=-1month@month latest=@month | timechart count &lt;/P&gt;

&lt;P&gt;How can I compare these two searches in one panel? &lt;/P&gt;

&lt;P&gt;I know that this article &lt;A href="https://answers.splunk.com/answers/9053/example-of-chart-overlay.html"&gt;https://answers.splunk.com/answers/9053/example-of-chart-overlay.html&lt;/A&gt; exists but I dont get along with the description.&lt;/P&gt;

&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 14:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475709#M133685</guid>
      <dc:creator>igschloessl</dc:creator>
      <dc:date>2019-11-05T14:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare Column Chart with Line Chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475710#M133686</link>
      <description>&lt;P&gt;Hi igschloessl,&lt;BR /&gt;
did you explored the possibility to use Chart Overlay?&lt;BR /&gt;
You can see an exmple in Splunk Dashboard Examples App ( &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;You could try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
    &amp;lt;label&amp;gt;Chart Overlay&amp;lt;/label&amp;gt;
    &amp;lt;description&amp;gt;Show limits and other data on one chart.&amp;lt;/description&amp;gt;
    &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
        &amp;lt;input type="time" token="time" searchWhenChanged="true"&amp;gt;
            &amp;lt;label/&amp;gt;
            &amp;lt;default&amp;gt;
                &amp;lt;earliest&amp;gt;-60m@m&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;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;panel&amp;gt;
            &amp;lt;chart&amp;gt;
                &amp;lt;title&amp;gt;Chart Overlay w/ Single Axis&amp;lt;/title&amp;gt;
                &amp;lt;search&amp;gt;
                    &amp;lt;query&amp;gt;
                        index=proxy earliest=-1month@month latest=@month 
                       | timechart span=1w count by dest_host usenull=false limit=5
                       | addtotals
                    &amp;lt;/query&amp;gt;
                    &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
                    &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
                &amp;lt;/search&amp;gt;
                &amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.legend.masterLegend"&amp;gt;null&amp;lt;/option&amp;gt;
                &amp;lt;option name="height"&amp;gt;300&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.chart.overlayFields"&amp;gt;total&amp;lt;/option&amp;gt;
                &amp;lt;option name="charting.fieldColors"&amp;gt;{"count": 0x639BF1, "average":0xFF5A09}&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;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 15:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475710#M133686</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-05T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare Column Chart with Line Chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475711#M133687</link>
      <description>&lt;P&gt;It doenst make a line. What do I need to modify to get a line?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:13:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475711#M133687</guid>
      <dc:creator>igschloessl</dc:creator>
      <dc:date>2019-11-06T11:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare Column Chart with Line Chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475712#M133688</link>
      <description>&lt;P&gt;I had to to the following step&lt;BR /&gt;
Click chart overlay and Click the text box and select Total field.&lt;BR /&gt;
There was the wrong field selected.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:29:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-Column-Chart-with-Line-Chart/m-p/475712#M133688</guid>
      <dc:creator>igschloessl</dc:creator>
      <dc:date>2019-11-06T11:29:43Z</dc:date>
    </item>
  </channel>
</rss>

