<?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 capture and count in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315667#M4335</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;Kindly respond to my field extraction query.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2017 16:05:00 GMT</pubDate>
    <dc:creator>kdulhan</dc:creator>
    <dc:date>2017-09-01T16:05:00Z</dc:date>
    <item>
      <title>Response Time capture and count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315665#M4333</link>
      <description>&lt;P&gt;I have a below SPLUNK event:&lt;BR /&gt;
ns=app1 Service='trigger1' id=100 ActNo='101' ServiceType='REST',ResponseCode='200',ResponseTime='322ms'&lt;/P&gt;

&lt;P&gt;I want to extract all the events where ResponseTime&amp;gt;1000ms.&lt;/P&gt;

&lt;P&gt;ns=app1 Service='trigger1' id=100 | stats count(eval(ResponseTime&amp;gt;"'500ms'")) as "Count SLA &amp;gt; 500 ms" works fine.&lt;/P&gt;

&lt;P&gt;But when i try to search for the events with ResponseTIme&amp;gt;1000ms using&lt;BR /&gt;
ns=app1 Service='trigger1' id=100 | stats count(eval(ResponseTime&amp;gt;"'1000ms'")) as "Count SLA &amp;gt; 1000 ms"&lt;/P&gt;

&lt;P&gt;whereas I have the events with ResponseTime &amp;gt; 1000ms&lt;/P&gt;

&lt;P&gt;I am able to search an event with ResponseTime="'1552ms'"&lt;/P&gt;

&lt;P&gt;i.e. ns=app1 Service='trigger1' id=100 | ResponseTime="'1552ms'"&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315665#M4333</guid>
      <dc:creator>kdulhan</dc:creator>
      <dc:date>2017-09-01T13:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time capture and count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315666#M4334</link>
      <description>&lt;P&gt;Try like this (getting response_time as number for easier mathematical comparison)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ns=app1 Service='trigger1' id=100 | rex field=ResponseTIme "'*(?&amp;lt;response_time&amp;gt;\d+)ms" | stats count(eval(response_time&amp;gt;1000)) as "Count SLA &amp;gt; 1000 ms"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 15:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315666#M4334</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-01T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time capture and count</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315667#M4335</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;Kindly respond to my field extraction query.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 16:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Response-Time-capture-and-count/m-p/315667#M4335</guid>
      <dc:creator>kdulhan</dc:creator>
      <dc:date>2017-09-01T16:05:00Z</dc:date>
    </item>
  </channel>
</rss>

