<?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: response time from syslog in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57098#M179913</link>
    <description>&lt;P&gt;@mikelanghorst, Thanks so much for ur explanation. Currently i am manually copying the files into the Splunk, so just assume that I can have the apache log part. then i guess i should ask, how to compute response time based on the standard apache logs format? if there is no field recording response time directly?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2011 20:08:56 GMT</pubDate>
    <dc:creator>xiaoyuew</dc:creator>
    <dc:date>2011-08-12T20:08:56Z</dc:date>
    <item>
      <title>response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57093#M179908</link>
      <description>&lt;P&gt;how to calculate response time from syslog? which field to use? &lt;/P&gt;

&lt;P&gt;Jun  4 04:02:18 vmlbsmt logger: 10.10.10.10 [04/Jun/2011:04:02:18 +0000] "GET /status.html HTTP/1.0" 200 35 174 "-" "-"&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 22:16:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57093#M179908</guid>
      <dc:creator>xiaoyuew</dc:creator>
      <dc:date>2011-08-11T22:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57094#M179909</link>
      <description>&lt;P&gt;Please clarify. Do you mean which field in the sample event? Syslog is just the means of transporting the event from the source host to a log server.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 05:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57094#M179909</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-08-12T05:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57095#M179910</link>
      <description>&lt;P&gt;@Ayn, my question is actually in two folds, &lt;/P&gt;

&lt;P&gt;(1) what log format is it? what is in each field?&lt;BR /&gt;
Jun 4 04:02:18 vmlbsmt logger: 10.10.10.10 [04/Jun/2011:04:02:18 +0000] "GET /status.html HTTP/1.0" 200 35 174 "-" "-"&lt;BR /&gt;
(2) how to compute response time based on these fields? @Mus mentioned to use &lt;ENDTIME&gt; - &lt;STARTTIME&gt;, but where can i find "endtime", and "starttime"?&lt;/STARTTIME&gt;&lt;/ENDTIME&gt;&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 18:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57095#M179910</guid>
      <dc:creator>xiaoyuew</dc:creator>
      <dc:date>2011-08-12T18:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57096#M179911</link>
      <description>&lt;P&gt;xiaoyuew - Your question really isn't about syslog in this case, but in the formatting of the log messages in your webserver.&lt;/P&gt;

&lt;P&gt;Your message consists of 2 parts:&lt;BR /&gt;
Jun 4 04:02:18 vmlbsmt logger  - This is written by syslog&lt;BR /&gt;
10.10.10.10 [04/Jun/2011:04:02:18 +0000] "GET /status.html HTTP/1.0" 200 35 174 "-" "-"  - This is sent by your webserver to the syslog daemon, which adds it's info and writes the message.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 19:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57096#M179911</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2011-08-12T19:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57097#M179912</link>
      <description>&lt;P&gt;Depending on how you're getting the data into Splunk, it's possible to use the strip syslog function to remove the portion written by syslog and have the event a "pure" access message.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://httpd.apache.org/docs/current/logs.html" target="_blank"&gt;http://httpd.apache.org/docs/current/logs.html&lt;/A&gt; - Under "Access Logs" describes the default format of access_common or access_combined.&lt;/P&gt;

&lt;P&gt;It looks like the format of the log has been modified from these standard formats, which neither usually contain a response time.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57097#M179912</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2020-09-28T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57098#M179913</link>
      <description>&lt;P&gt;@mikelanghorst, Thanks so much for ur explanation. Currently i am manually copying the files into the Splunk, so just assume that I can have the apache log part. then i guess i should ask, how to compute response time based on the standard apache logs format? if there is no field recording response time directly?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 20:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57098#M179913</guid>
      <dc:creator>xiaoyuew</dc:creator>
      <dc:date>2011-08-12T20:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57099#M179914</link>
      <description>&lt;P&gt;By default, no.  But your example has additional fields.  I'd need to see how your logging is configured.  Look for lines similar to what's in Fedora's default httpd.conf:&lt;/P&gt;

&lt;P&gt;CustomLog logs/access_log combined&lt;/P&gt;

&lt;P&gt;LogFormat "%h %l %u %t \"%r\" %&amp;gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined&lt;/P&gt;

&lt;P&gt;LogFormat "%h %l %u %t \"%r\" %&amp;gt;s %b" common&lt;/P&gt;

&lt;P&gt;LogFormat "%{Referer}i -&amp;gt; %U" referer&lt;/P&gt;

&lt;P&gt;LogFormat "%{User-agent}i" agent&lt;/P&gt;

&lt;P&gt;The first line is telling Apache where and which format to use, the others define those format names.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 21:08:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57099#M179914</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2011-08-12T21:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: response time from syslog</title>
      <link>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57100#M179915</link>
      <description>&lt;P&gt;&lt;A href="http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats"&gt;http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;One of these values would need to be in your LogFormat as mentioned above in my comments:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;%D     The time taken to serve the request, in microseconds.&lt;BR /&gt;
or&lt;BR /&gt;
%T  The time taken to serve the request, in seconds.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://httpd.apache.org/docs/current/mod/mod_log_config.html#LogFormat"&gt;http://httpd.apache.org/docs/current/mod/mod_log_config.html#LogFormat&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 21:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/response-time-from-syslog/m-p/57100#M179915</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2011-08-12T21:14:33Z</dc:date>
    </item>
  </channel>
</rss>

