<?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: Help with timechart overlay? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342460#M101439</link>
    <description>&lt;P&gt;See this&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Chartcontrols#Chart_overlay"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Chartcontrols#Chart_overlay&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 21:27:19 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-11-02T21:27:19Z</dc:date>
    <item>
      <title>Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342459#M101438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a search that plots CPU and max Attendees over time.  It's rather convoluted, and I'm wondering if there's a better way.  I'm pretty new to splunk.  Any suggestions?&lt;/P&gt;

&lt;P&gt;host="freeswitch" sourcetype="cpu" | eval earliest=info_min_time | eval latest=info_max_time | multikv |&lt;BR /&gt;
append [search host="freeswitch" sourcetype="cdr_xml" |&lt;BR /&gt;
eval Conf_Start=strftime(startTime,"%H:%M:%S %m/%d/%y") |&lt;BR /&gt;
eventstats count(callerName) as Attendees by Conf_Start] | &lt;BR /&gt;
timechart span=5m max(cpu_user_percent) as CPU max(Attendees) as Attendees&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
mike&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342459#M101438</guid>
      <dc:creator>mwcooley</dc:creator>
      <dc:date>2020-09-29T16:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342460#M101439</link>
      <description>&lt;P&gt;See this&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Chartcontrols#Chart_overlay"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Chartcontrols#Chart_overlay&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 21:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342460#M101439</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-02T21:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342461#M101440</link>
      <description>&lt;P&gt;Thanks.  I saw that, but my data comes from two different source types.  i wasn't sure how to get the the data from the second source type without a separate search.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 21:40:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342461#M101440</guid>
      <dc:creator>mwcooley</dc:creator>
      <dc:date>2017-11-02T21:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342462#M101441</link>
      <description>&lt;P&gt;I think what you really want is appendcols &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/SearchReference/Appendcols"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/SearchReference/Appendcols&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 15:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342462#M101441</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2017-11-03T15:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342463#M101442</link>
      <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="freeswitch" sourcetype="cpu" 
| eval earliest=info_min_time 
| eval latest=info_max_time 
| multikv 
| timechart span=5m max(cpu_user_percent) as CPU 
| appendcols 
    [ search host="freeswitch" sourcetype="cdr_xml" 
    | eval Conf_Start=strftime(startTime,"%H:%M:%S %m/%d/%y") 
    | eventstats count(callerName) as Attendees by Conf_Start 
    | timechart span=5m max(Attendees) as Attendees]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Nov 2017 15:21:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342463#M101442</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2017-11-03T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342464#M101443</link>
      <description>&lt;P&gt;kmaron, is your way quicker, or less processor intensive?  it's definitely aesthetically better.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 18:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342464#M101443</guid>
      <dc:creator>mwcooley</dc:creator>
      <dc:date>2017-11-06T18:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342465#M101444</link>
      <description>&lt;P&gt;I'm not sure if it's quicker or more efficient you'd have to run the queries and compare them. I just learned to use appendcols to put two graphs into one.&lt;/P&gt;

&lt;P&gt;This has a nice explanation of the differences in the append type commands if that helps: &lt;A href="https://answers.splunk.com/answers/144351/what-are-the-differences-between-append-appendpipe.html"&gt;https://answers.splunk.com/answers/144351/what-are-the-differences-between-append-appendpipe.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 18:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342465#M101444</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2017-11-06T18:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with timechart overlay?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342466#M101445</link>
      <description>&lt;P&gt;Cool.  i definitely like it better than the one i was using.   thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 18:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-timechart-overlay/m-p/342466#M101445</guid>
      <dc:creator>mwcooley</dc:creator>
      <dc:date>2017-11-06T18:22:10Z</dc:date>
    </item>
  </channel>
</rss>

