<?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 How to write a search to get a table of eventstats perc95 and avg by a certain field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128892#M35024</link>
    <description>&lt;P&gt;I need a table which gives me both perc95(response_time) and avg(response_time) by service_name&lt;BR /&gt;
I am using the below query, but is giving me some weird results...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=jms_logs sourcetype=perflogs | eventstats perc95(response_time) as response_time_95p, avg(response_time) as avgRespTime | stats by service_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;can someone please help me?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:13:47 GMT</pubDate>
    <dc:creator>edookati</dc:creator>
    <dc:date>2020-09-28T18:13:47Z</dc:date>
    <item>
      <title>How to write a search to get a table of eventstats perc95 and avg by a certain field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128892#M35024</link>
      <description>&lt;P&gt;I need a table which gives me both perc95(response_time) and avg(response_time) by service_name&lt;BR /&gt;
I am using the below query, but is giving me some weird results...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=jms_logs sourcetype=perflogs | eventstats perc95(response_time) as response_time_95p, avg(response_time) as avgRespTime | stats by service_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;can someone please help me?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:13:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128892#M35024</guid>
      <dc:creator>edookati</dc:creator>
      <dc:date>2020-09-28T18:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to get a table of eventstats perc95 and avg by a certain field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128893#M35025</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=jms_logs sourcetype=perflogs | stats perc95(response_time) as response_time_95p, avg(response_time) as avgRespTime by service_name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Nov 2014 16:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128893#M35025</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-11-20T16:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to get a table of eventstats perc95 and avg by a certain field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128894#M35026</link>
      <description>&lt;P&gt;thanks. It worked just great.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2014 16:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-get-a-table-of-eventstats-perc95-and/m-p/128894#M35026</guid>
      <dc:creator>edookati</dc:creator>
      <dc:date>2014-11-20T16:44:47Z</dc:date>
    </item>
  </channel>
</rss>

