<?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: How to extract fields with a value greater than 3 seconds? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282281#M85217</link>
    <description>&lt;P&gt;The threshold sp_lunky  looking for is 3 sec. You may want to correct it.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 17:35:09 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-02-08T17:35:09Z</dc:date>
    <item>
      <title>How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282278#M85214</link>
      <description>&lt;P&gt;First sorry for my english. I'm testing Splunk at the moment, and i have a task to extract a field from  *.log files.&lt;BR /&gt;&lt;BR /&gt;
Raw value is :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;..xxxxxxxxxxxxxxx Duration: 1 s. 466 ms....
..xxxxxxxxxxxxxxx Duration: 4 s. 066 ms...
..xxxxxxxxxxxxxxx Duration: 12 s. 300 ms...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to to make an alert when the Duration is greater than 3 s&lt;/P&gt;

&lt;P&gt;for a Report I filtered with search command, but it won't show the value like: "11", "12"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=NAME | search (duration:"4" OR "5" OR "6" OR "7" OR "8" OR "9" ) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help please!?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 16:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282278#M85214</guid>
      <dc:creator>sp_lunky</dc:creator>
      <dc:date>2017-02-08T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282279#M85215</link>
      <description>&lt;P&gt;try this, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | rex "Duration:\s+(?&amp;lt;duration&amp;gt;\d+)" | where duration&amp;gt;3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this will help you. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282279#M85215</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-02-08T17:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282280#M85216</link>
      <description>&lt;P&gt;Could you try this search?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;host=name | rex field=_raw "Duration\:\s(?&amp;lt;duration_s&amp;gt;\d+)\ss\.\s+(?&amp;lt;duration_ms&amp;gt;\d+)\sms" | eval duration=duration_s+(duration_ms/1000) | search duration_s="*"&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;This would give you a float with the actual duration in &lt;CODE&gt;duration&lt;/CODE&gt; and separate fields for the second and millisecond component to use your original filtering.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282280#M85216</guid>
      <dc:creator>paulstout</dc:creator>
      <dc:date>2017-02-08T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282281#M85217</link>
      <description>&lt;P&gt;The threshold sp_lunky  looking for is 3 sec. You may want to correct it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:35:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282281#M85217</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-08T17:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282282#M85218</link>
      <description>&lt;P&gt;To meet the original 3 second requirement, &lt;CODE&gt;| where duration_s&amp;gt;3&lt;/CODE&gt; or &lt;CODE&gt;| search duration_s&amp;gt;3&lt;/CODE&gt; should suffice.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282282#M85218</guid>
      <dc:creator>paulstout</dc:creator>
      <dc:date>2017-02-08T17:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282283#M85219</link>
      <description>&lt;P&gt;updated the answer. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282283#M85219</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-02-08T17:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282284#M85220</link>
      <description>&lt;P&gt;Thank you very much! Both are good and working. But I accepted  &lt;STRONG&gt;paulstout&lt;/STRONG&gt;  answer because it satisfy both my needs. &lt;BR /&gt;
Thank you again!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 12:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282284#M85220</guid>
      <dc:creator>sp_lunky</dc:creator>
      <dc:date>2017-02-09T12:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282285#M85221</link>
      <description>&lt;P&gt;I believe you can accept more than one answer, if they both helped.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:15:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282285#M85221</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-09T17:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields with a value greater than 3 seconds?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282286#M85222</link>
      <description>&lt;P&gt;Sorry, i didn't now that&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 14:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-with-a-value-greater-than-3-seconds/m-p/282286#M85222</guid>
      <dc:creator>sp_lunky</dc:creator>
      <dc:date>2017-02-10T14:50:54Z</dc:date>
    </item>
  </channel>
</rss>

