<?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: Chart with multiple Row Fields that Share Values Over One Column Field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452209#M128050</link>
    <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search before the chart command which has fields runtime  Total.Count.Integer.Conditons Total.Count.Varchar.Conditons
| untable runtime condition TotalCount
| eval IntRuntime=if(condition="Total.Count.Integer.Conditons",runtime, null())
| eval VarRuntime=if(condition="Total.Count.Varchar.Conditons",runtime, null())
| stats avg(IntRuntime) as "Average Run Time(ms) - Integer Condition"  avg(VarRuntime) as "Average Run Time(ms) - Varchar Condition" by TotalCount
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Mar 2019 20:28:42 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2019-03-21T20:28:42Z</dc:date>
    <item>
      <title>Chart with multiple Row Fields that Share Values Over One Column Field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452208#M128049</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I was wondering if you can have a chart that compares the average of one field depending on the value of several other fields. I want to compare the average runtime of a query and compare the time depending on how many certain conditions are set. So for example I want to see the difference of having 1 integer condition compared to 1 varchar condition as a side by side bar chart. The two charts I have that show the results are below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| chart avg(runtime) as "Average Run Time(ms)" by Total.Count.Integer.Conditons

| chart avg(runtime) as "Average Run Time(ms)" by Total.Count.Varchar.Conditons
&lt;/CODE&gt;&lt;/PRE&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/6747iFFFDFE41027BB391/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;So the above two charts would ideally be one grouped by the number of conditions.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 16:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452208#M128049</guid>
      <dc:creator>jjezusek</dc:creator>
      <dc:date>2019-03-21T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with multiple Row Fields that Share Values Over One Column Field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452209#M128050</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search before the chart command which has fields runtime  Total.Count.Integer.Conditons Total.Count.Varchar.Conditons
| untable runtime condition TotalCount
| eval IntRuntime=if(condition="Total.Count.Integer.Conditons",runtime, null())
| eval VarRuntime=if(condition="Total.Count.Varchar.Conditons",runtime, null())
| stats avg(IntRuntime) as "Average Run Time(ms) - Integer Condition"  avg(VarRuntime) as "Average Run Time(ms) - Varchar Condition" by TotalCount
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Mar 2019 20:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452209#M128050</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-03-21T20:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with multiple Row Fields that Share Values Over One Column Field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452210#M128051</link>
      <description>&lt;P&gt;Thank you. This was able to work!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 14:43:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-Row-Fields-that-Share-Values-Over-One-Column/m-p/452210#M128051</guid>
      <dc:creator>jjezusek</dc:creator>
      <dc:date>2019-03-22T14:43:06Z</dc:date>
    </item>
  </channel>
</rss>

