<?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: Generating response time report in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Generating-response-time-report/m-p/199004#M10666</link>
    <description>&lt;P&gt;It'd probably be worth auto-extracting the response time into a field so that whenever you search for sourcetype "sfe" you have a field that represents response time. &lt;/P&gt;

&lt;P&gt;Then you'll have a field that you can perform statistical commands on, such as max, min, avg etc.&lt;/P&gt;

&lt;P&gt;With that in mind I'd create props.conf entry to hook into sourcetype sfe. Something like the below: &lt;/P&gt;

&lt;P&gt;props.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sfe]
EXTRACT_sfe_resp_time = ,(?&amp;lt;resp_time&amp;gt;\d{1,6})ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you could run your search through a timechart command something like this: &lt;/P&gt;

&lt;P&gt;sourcetype=sfe search.action | timechart avg(resp_time) by host&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2014 18:04:25 GMT</pubDate>
    <dc:creator>dkuk</dc:creator>
    <dc:date>2014-03-25T18:04:25Z</dc:date>
    <item>
      <title>Generating response time report</title>
      <link>https://community.splunk.com/t5/Reporting/Generating-response-time-report/m-p/199003#M10665</link>
      <description>&lt;P&gt;We have a search application with not so friendly formatted logging for reporting on.  I'm having trouble extracting the response times from lines like below and then generating a response time report of some kind.  Any suggestions?&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;2014-03-25 12:00:10,827 INFO [com.search.web.common.filter.PerformanceFilter] - /global/search.action,364ms query=ABC
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Below is what I've come up with so far, but am stuck on how to accurately put the data into a report of some kind.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;sourcetype="sfe" search.action | regex_raw="\d{2,5}ms"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 25 Mar 2014 17:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Generating-response-time-report/m-p/199003#M10665</guid>
      <dc:creator>DFresh4130</dc:creator>
      <dc:date>2014-03-25T17:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generating response time report</title>
      <link>https://community.splunk.com/t5/Reporting/Generating-response-time-report/m-p/199004#M10666</link>
      <description>&lt;P&gt;It'd probably be worth auto-extracting the response time into a field so that whenever you search for sourcetype "sfe" you have a field that represents response time. &lt;/P&gt;

&lt;P&gt;Then you'll have a field that you can perform statistical commands on, such as max, min, avg etc.&lt;/P&gt;

&lt;P&gt;With that in mind I'd create props.conf entry to hook into sourcetype sfe. Something like the below: &lt;/P&gt;

&lt;P&gt;props.conf: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sfe]
EXTRACT_sfe_resp_time = ,(?&amp;lt;resp_time&amp;gt;\d{1,6})ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you could run your search through a timechart command something like this: &lt;/P&gt;

&lt;P&gt;sourcetype=sfe search.action | timechart avg(resp_time) by host&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 18:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Generating-response-time-report/m-p/199004#M10666</guid>
      <dc:creator>dkuk</dc:creator>
      <dc:date>2014-03-25T18:04:25Z</dc:date>
    </item>
  </channel>
</rss>

