<?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: Display response times for two different webservices in the same timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63068#M180246</link>
    <description>&lt;P&gt;Hi Magnus,&lt;/P&gt;

&lt;P&gt;do these different web services share the same hosts, so you need to differentiate between them? Otherwise you could just OR everything together:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=index1 host="host-name*" cs_uri_stem="webservice1.svc") OR (index=index2 host="host-name*" cs_uri_stem="webservice2.svc") | timechart avg(time_taken) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could also have a look at the &lt;CODE&gt;append&lt;/CODE&gt; command for running separate searches that each contribute their own portion to the stats, but from the situation you describe it sounds like the first solution would solve what you want to accomplish.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Patrik&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2012 07:16:21 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-05-30T07:16:21Z</dc:date>
    <item>
      <title>Display response times for two different webservices in the same timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63067#M180245</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;

&lt;P&gt;I have two searches that I want to display in the same search and pipe them out in a time-chart&lt;/P&gt;

&lt;P&gt;Both searches looks like this, but it´s different indexes, host-names and web services: &lt;BR /&gt;
index="index name" host="host-name*" cs_uri_stem="/Web-service-name.svc" | timechart avg(time_taken) by host&lt;/P&gt;

&lt;P&gt;So my question is how do I modify the search above to include both web services from the different hosts and pipe out avg responsetimes in a timechart (timechart avg(time_taken) by host).&lt;/P&gt;

&lt;P&gt;cheers&lt;BR /&gt;
/Magnus&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63067#M180245</guid>
      <dc:creator>Norling</dc:creator>
      <dc:date>2020-09-28T11:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display response times for two different webservices in the same timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63068#M180246</link>
      <description>&lt;P&gt;Hi Magnus,&lt;/P&gt;

&lt;P&gt;do these different web services share the same hosts, so you need to differentiate between them? Otherwise you could just OR everything together:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=index1 host="host-name*" cs_uri_stem="webservice1.svc") OR (index=index2 host="host-name*" cs_uri_stem="webservice2.svc") | timechart avg(time_taken) by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could also have a look at the &lt;CODE&gt;append&lt;/CODE&gt; command for running separate searches that each contribute their own portion to the stats, but from the situation you describe it sounds like the first solution would solve what you want to accomplish.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Patrik&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 07:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63068#M180246</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-05-30T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display response times for two different webservices in the same timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63069#M180247</link>
      <description>&lt;P&gt;Works really good, many thanks Patrik.&lt;BR /&gt;
/Magnus&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 08:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-response-times-for-two-different-webservices-in-the-same/m-p/63069#M180247</guid>
      <dc:creator>Norling</dc:creator>
      <dc:date>2012-05-30T08:25:49Z</dc:date>
    </item>
  </channel>
</rss>

