<?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 filter by time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505403#M141232</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It didn't work got this error:&lt;/P&gt;&lt;DIV class="alerts search-searchflashmessages"&gt;&lt;DIV class="alert alert-error"&gt;Error in 'rex' command: The regex '(&amp;lt;time&amp;gt;\d+)' does not extract anything. It should specify at least one named group. Format: (?&amp;lt;name&amp;gt;...).&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="job-status-container"&gt;&lt;DIV class="shared-jobstatus"&gt;&lt;DIV class="alert alert-error"&gt;The search job has failed due to an error. You may be able view the job in....&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried also but no results&lt;/P&gt;&lt;P&gt;index=prod-* "WEBSERVICES CALL ENDED"&lt;/P&gt;&lt;P&gt;|rex field=time "processing time:&amp;lt;(?&amp;lt;time&amp;gt;.*)&amp;gt; ms"&lt;/P&gt;&lt;P&gt;|where time&amp;gt;10&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jun 2020 23:02:37 GMT</pubDate>
    <dc:creator>ycherbi</dc:creator>
    <dc:date>2020-06-21T23:02:37Z</dc:date>
    <item>
      <title>How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505383#M141227</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Splunk to monitor our REST API calls&lt;/P&gt;&lt;P&gt;search is&lt;/P&gt;&lt;P&gt;index=prod-* "WEBSERVICES CALL ENDED"&lt;/P&gt;&lt;P&gt;it gives&amp;nbsp; me results, but I want to get only results when time&amp;gt; 5000 ms&amp;nbsp;&lt;/P&gt;&lt;P&gt;or get the slowest API response time by time field?&lt;/P&gt;&lt;P&gt;hoe can I do it?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 16:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505383#M141227</guid>
      <dc:creator>ycherbi</dc:creator>
      <dc:date>2020-06-21T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505394#M141228</link>
      <description>We need more information. Please share some same (anonymized) data.</description>
      <pubDate>Sun, 21 Jun 2020 18:32:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505394#M141228</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-06-21T18:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505399#M141229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your reply,I will add more info&lt;/P&gt;&lt;P&gt;so this is my search&lt;/P&gt;&lt;P&gt;&amp;nbsp;index=prod-* "WEBSERVICES CALL ENDED"&lt;/P&gt;&lt;P&gt;It will return records that indicate about my API call end&amp;nbsp; (see image below)&lt;/P&gt;&lt;P&gt;As you can see we have processing time field in our logs and also time field (by Splunk) both are equal, I would to use this time field and get only API calls that processing time is longer than 5000ms ( add alerts).&lt;/P&gt;&lt;P&gt;Or get average API time, hope it more clear now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505399#M141229</guid>
      <dc:creator>ycherbi</dc:creator>
      <dc:date>2020-06-22T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505402#M141231</link>
      <description>&lt;P&gt;&lt;SPAN&gt;index=prod-* "WEBSERVICES CALL ENDED"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;|rex field=time "(&amp;lt;time&amp;gt;\d+)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;|where time&amp;gt;5000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fire alert: event count &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 21:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505402#M141231</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-06-21T21:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505403#M141232</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It didn't work got this error:&lt;/P&gt;&lt;DIV class="alerts search-searchflashmessages"&gt;&lt;DIV class="alert alert-error"&gt;Error in 'rex' command: The regex '(&amp;lt;time&amp;gt;\d+)' does not extract anything. It should specify at least one named group. Format: (?&amp;lt;name&amp;gt;...).&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="job-status-container"&gt;&lt;DIV class="shared-jobstatus"&gt;&lt;DIV class="alert alert-error"&gt;The search job has failed due to an error. You may be able view the job in....&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried also but no results&lt;/P&gt;&lt;P&gt;index=prod-* "WEBSERVICES CALL ENDED"&lt;/P&gt;&lt;P&gt;|rex field=time "processing time:&amp;lt;(?&amp;lt;time&amp;gt;.*)&amp;gt; ms"&lt;/P&gt;&lt;P&gt;|where time&amp;gt;10&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 23:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505403#M141232</guid>
      <dc:creator>ycherbi</dc:creator>
      <dc:date>2020-06-21T23:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505405#M141233</link>
      <description>&lt;P&gt;Also this didnt work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=prod-* "WEBSERVICES CALL ENDED"&lt;/P&gt;&lt;P&gt;|rex field=time "(?&amp;lt;time&amp;gt;.*)"&lt;/P&gt;&lt;P&gt;|where time&amp;gt;23&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 23:04:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505405#M141233</guid>
      <dc:creator>ycherbi</dc:creator>
      <dc:date>2020-06-21T23:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505406#M141234</link>
      <description>&lt;P class="lia-align-left"&gt;found it&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=prod-* "WEBSERVICES CALL ENDED"&amp;nbsp;&lt;/P&gt;&lt;P&gt;|rex field=time "(?&amp;lt;time&amp;gt;\d+)"&lt;/P&gt;&lt;P&gt;|where time&amp;gt;1000&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 23:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505406#M141234</guid>
      <dc:creator>ycherbi</dc:creator>
      <dc:date>2020-06-21T23:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505450#M141249</link>
      <description>&lt;P&gt;good job. please accept your answer. and I'm sorry for typo.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 09:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-by-time/m-p/505450#M141249</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-06-22T09:05:41Z</dc:date>
    </item>
  </channel>
</rss>

