<?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 extract time-taken from IIS logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-taken-from-IIS-logs/m-p/197960#M187405</link>
    <description>&lt;P&gt;We are trying to build an alert based on the 'time-taken' IIS field; &lt;BR /&gt;
the query we have is:&lt;BR /&gt;
sourcetype=iis_logs host="hostname"  AND "POST /request/request"  | rex "(?&lt;TIME_TAKEN&gt;w*)$" &lt;/TIME_TAKEN&gt;&lt;/P&gt;

&lt;P&gt;the restuls being returned include the entire IIS Log line:&lt;/P&gt;

&lt;P&gt;2014-03-23 13:11:12 10.250.80.250 POST /request/request - 4301 Customer 10.250.80.11 - 200 0 0 951&lt;/P&gt;

&lt;P&gt;What we'd like is to have the query returns the results as follows:&lt;BR /&gt;
Host , Request URL , Time-taken &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:12:43 GMT</pubDate>
    <dc:creator>yennaciri</dc:creator>
    <dc:date>2020-09-28T16:12:43Z</dc:date>
    <item>
      <title>How to extract time-taken from IIS logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-taken-from-IIS-logs/m-p/197960#M187405</link>
      <description>&lt;P&gt;We are trying to build an alert based on the 'time-taken' IIS field; &lt;BR /&gt;
the query we have is:&lt;BR /&gt;
sourcetype=iis_logs host="hostname"  AND "POST /request/request"  | rex "(?&lt;TIME_TAKEN&gt;w*)$" &lt;/TIME_TAKEN&gt;&lt;/P&gt;

&lt;P&gt;the restuls being returned include the entire IIS Log line:&lt;/P&gt;

&lt;P&gt;2014-03-23 13:11:12 10.250.80.250 POST /request/request - 4301 Customer 10.250.80.11 - 200 0 0 951&lt;/P&gt;

&lt;P&gt;What we'd like is to have the query returns the results as follows:&lt;BR /&gt;
Host , Request URL , Time-taken &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-taken-from-IIS-logs/m-p/197960#M187405</guid>
      <dc:creator>yennaciri</dc:creator>
      <dc:date>2020-09-28T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract time-taken from IIS logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-taken-from-IIS-logs/m-p/197961#M187406</link>
      <description>&lt;P&gt;Assuming the field names exist like this in your search, you can append this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | table host request_url time_taken
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to get your three-column table.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Mar 2014 15:39:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-time-taken-from-IIS-logs/m-p/197961#M187406</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-23T15:39:02Z</dc:date>
    </item>
  </channel>
</rss>

