<?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 find ELAPSED Time entries greater than a particular amount. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589740#M205345</link>
    <description>&lt;P&gt;Convert elapsed time into seconds and then filter.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=ELAPSED "((?&amp;lt;dd&amp;gt;\d+)\-?)((?&amp;lt;hh&amp;gt;\d+)\:?)((?&amp;lt;mm&amp;gt;\d+)\:)?(?&amp;lt;ss&amp;gt;\d+)$"
| eval elapsed_secs=(dd * 86400) + (hh * 3600) + (mm * 60) + (ss)
| where elapsed_secs&amp;gt;46799&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 18:08:23 GMT</pubDate>
    <dc:creator>johnhuang</dc:creator>
    <dc:date>2022-03-18T18:08:23Z</dc:date>
    <item>
      <title>How to find ELAPSED Time entries greater than a particular amount.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589726#M205340</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the list of elapsed time over a specific time using our os process sourcetype.&lt;/P&gt;&lt;P&gt;Looks something like this&lt;/P&gt;&lt;P&gt;index=os sourcetype=ps host=* COMMAND=*&lt;BR /&gt;| where ELAPSED &amp;gt; "12:59:59"&lt;BR /&gt;| table COMMAND ELAPSED _time&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for some reason, the ELAPSED time is still displaying values under this time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the ELAPSED Time goes over a day, I am able to filter that out with the where command.&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;| where ELAPSED &amp;gt; "60-12:59:59"&lt;BR /&gt;| table COMMAND ELAPSED _time&lt;/P&gt;&lt;P&gt;-&amp;gt; Output will give me the results which are older than 60 days, 12:59:59 hours.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 16:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589726#M205340</guid>
      <dc:creator>umithchada</dc:creator>
      <dc:date>2022-03-18T16:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find ELAPSED Time entries greater than a particular amount.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589729#M205341</link>
      <description>&lt;P&gt;Do you have ELAPSED_Time as a value in seconds rather than a string?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 17:34:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589729#M205341</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-18T17:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find ELAPSED Time entries greater than a particular amount.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589740#M205345</link>
      <description>&lt;P&gt;Convert elapsed time into seconds and then filter.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=ELAPSED "((?&amp;lt;dd&amp;gt;\d+)\-?)((?&amp;lt;hh&amp;gt;\d+)\:?)((?&amp;lt;mm&amp;gt;\d+)\:)?(?&amp;lt;ss&amp;gt;\d+)$"
| eval elapsed_secs=(dd * 86400) + (hh * 3600) + (mm * 60) + (ss)
| where elapsed_secs&amp;gt;46799&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 18:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589740#M205345</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2022-03-18T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find ELAPSED Time entries greater than a particular amount.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589745#M205347</link>
      <description>&lt;P&gt;Thanks, this worked for me,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like for data sets below 1 day, we will have to convert to seconds to get accurate filtering.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 18:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589745#M205347</guid>
      <dc:creator>umithchada</dc:creator>
      <dc:date>2022-03-18T18:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to find ELAPSED Time entries greater than a particular amount.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589746#M205348</link>
      <description>&lt;P&gt;The value was of ELAPSED was like "05:00:00" .&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 18:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-ELAPSED-Time-entries-greater-than-a-particular/m-p/589746#M205348</guid>
      <dc:creator>umithchada</dc:creator>
      <dc:date>2022-03-18T18:44:35Z</dc:date>
    </item>
  </channel>
</rss>

