<?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 timechart multiple functions in one search? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241786#M43276</link>
    <description>&lt;P&gt;great!&lt;BR /&gt;
Thank you!&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jan 2017 06:41:21 GMT</pubDate>
    <dc:creator>naty</dc:creator>
    <dc:date>2017-01-22T06:41:21Z</dc:date>
    <item>
      <title>How to timechart multiple functions in one search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241784#M43274</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i want to do a timechart with multiple functions, for example - timechart span=1h max(blabla) by boo1 avg(blabla) by boo1&lt;/P&gt;

&lt;P&gt;this is my search:&lt;/P&gt;

&lt;P&gt;index=myind source=mysrc | timechart span=1h avg(CPU_USAGE) by Process_Name&lt;/P&gt;

&lt;P&gt;CPU_USAGE and Process_Name are made up, just so i can show the split-by clause.&lt;/P&gt;

&lt;P&gt;what i would like to do is something like this:&lt;BR /&gt;
index=myind source=mysrc | timechart span=1h avg(CPU_USAGE) by Process_Name, max(CPU_USAGE) by Process_Name&lt;/P&gt;

&lt;P&gt;so the idea is to show on the same panel both the average &amp;amp; the maximum of the CPU_USAGE for each process name.&lt;BR /&gt;
because there can only be one split-by clause, the above search won't help.&lt;/P&gt;

&lt;P&gt;i tried using this:&lt;BR /&gt;
index=myind source=mysrc | timechart span=1h avg(CPU_USAGE) by Process_Name | appendcols [search index=myind source=mysrc | timechart span=1h max(CPU_USAGE) by Process_Name]&lt;/P&gt;

&lt;P&gt;but that's a heavy search that is not really good, i am doing twice the search for the same data &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;help!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:28:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241784#M43274</guid>
      <dc:creator>naty</dc:creator>
      <dc:date>2020-09-29T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to timechart multiple functions in one search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241785#M43275</link>
      <description>&lt;P&gt;index=myind source=mysrc | timechart span=1h avg(CPU_USAGE)  max(CPU_USAGE)  by Process_Name &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241785#M43275</guid>
      <dc:creator>andrey2007</dc:creator>
      <dc:date>2020-09-29T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to timechart multiple functions in one search?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241786#M43276</link>
      <description>&lt;P&gt;great!&lt;BR /&gt;
Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 06:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-timechart-multiple-functions-in-one-search/m-p/241786#M43276</guid>
      <dc:creator>naty</dc:creator>
      <dc:date>2017-01-22T06:41:21Z</dc:date>
    </item>
  </channel>
</rss>

