<?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: Search Query Specific Values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693109#M235867</link>
    <description>&lt;P&gt;Assuming that each event has one of those "GetRisk completed..." lines, you could use this regex and where combination:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index = yourindex &amp;lt;other filters like sourcetype, etc&amp;gt;
| rex field=_raw "GetRisk completed in (?&amp;lt;ms&amp;gt;\d+) ms"
| where ms &amp;gt; 1900&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 11 Jul 2024 21:52:00 GMT</pubDate>
    <dc:creator>marnall</dc:creator>
    <dc:date>2024-07-11T21:52:00Z</dc:date>
    <item>
      <title>Search Query Specific Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693106#M235865</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to only capture and show only the time it took for the service to complete. Shown below, is is a record that says the service completed in 1901 ms.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could please help write a search query to identify and return records into my dashboard panel that exceed 1909 ms?&lt;/P&gt;&lt;P&gt;So, for example, if there are 10 records that exceed 1900 ms, it will look something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetRisk completed in 1909 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetRisk completed in 1919 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetRisk completed in 2001 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GetRisk completed in 2100 ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As so on.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgTxt returns:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VeriskService - GetRisk completed in 1909 ms. (request details: environment: Production | desired services: BusinessOwnersTerritory | property type: Commercial xxxxx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 18:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693106#M235865</guid>
      <dc:creator>msarkaus</dc:creator>
      <dc:date>2024-07-11T18:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query Specific Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693107#M235866</link>
      <description>&lt;P&gt;And what have you tried so far? And what fields you have parsed out from those events?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 18:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693107#M235866</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-11T18:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search Query Specific Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693109#M235867</link>
      <description>&lt;P&gt;Assuming that each event has one of those "GetRisk completed..." lines, you could use this regex and where combination:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index = yourindex &amp;lt;other filters like sourcetype, etc&amp;gt;
| rex field=_raw "GetRisk completed in (?&amp;lt;ms&amp;gt;\d+) ms"
| where ms &amp;gt; 1900&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jul 2024 21:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Query-Specific-Values/m-p/693109#M235867</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-07-11T21:52:00Z</dc:date>
    </item>
  </channel>
</rss>

