<?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 How to create a Splunk search for the following problem? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653081#M225673</link>
    <description>&lt;P&gt;&amp;nbsp;My base search&amp;nbsp; PAGE_ID=*&lt;BR /&gt;| where PAGE_ID=DGEFH&amp;nbsp; OR&amp;nbsp; PAGE_ID =RGHJH&amp;nbsp; NOT NUM_OF_MONTHS_RUN&amp;gt;=6 AND NOT&lt;BR /&gt;NUM_OF_INDIVIDUALS_ON_CASE&amp;gt;=4&amp;nbsp;| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID | eval timeinsecs= round((TRAN_TIME_MS/1000),2) | stats count(eval(timeinsecs &amp;lt;=8)) AS countofpases count(timeinsecs) as totalcount by PAGE_CATEGORY | eval sla= (countofpases/totalcount)*100 | table sla&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to include all the PAGE_ID and the also use the criteria for the&amp;nbsp;PAGE_ID=DGEFH&amp;nbsp; and&amp;nbsp;&amp;nbsp;PAGE_ID =RGHJH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 19:08:45 GMT</pubDate>
    <dc:creator>kc_prane</dc:creator>
    <dc:date>2023-08-07T19:08:45Z</dc:date>
    <item>
      <title>How to create a Splunk search for the following problem?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653081#M225673</link>
      <description>&lt;P&gt;&amp;nbsp;My base search&amp;nbsp; PAGE_ID=*&lt;BR /&gt;| where PAGE_ID=DGEFH&amp;nbsp; OR&amp;nbsp; PAGE_ID =RGHJH&amp;nbsp; NOT NUM_OF_MONTHS_RUN&amp;gt;=6 AND NOT&lt;BR /&gt;NUM_OF_INDIVIDUALS_ON_CASE&amp;gt;=4&amp;nbsp;| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID | eval timeinsecs= round((TRAN_TIME_MS/1000),2) | stats count(eval(timeinsecs &amp;lt;=8)) AS countofpases count(timeinsecs) as totalcount by PAGE_CATEGORY | eval sla= (countofpases/totalcount)*100 | table sla&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to include all the PAGE_ID and the also use the criteria for the&amp;nbsp;PAGE_ID=DGEFH&amp;nbsp; and&amp;nbsp;&amp;nbsp;PAGE_ID =RGHJH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 19:08:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653081#M225673</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-08-07T19:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653101#M225683</link>
      <description>&lt;P&gt;The PAGE_ID field is not available to the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command because it was removed by the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command.&amp;nbsp; The only fields available at to &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; are sla, PAGE_CATEGORY, totalcount, and countofpases.&amp;nbsp; You could make PAGE_ID available by including it in the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PAGE_ID=*
| where PAGE_ID=DGEFH  OR  PAGE_ID =RGHJH  NOT NUM_OF_MONTHS_RUN&amp;gt;=6 AND NOT
NUM_OF_INDIVIDUALS_ON_CASE&amp;gt;=4 
| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID 
| eval timeinsecs= round((TRAN_TIME_MS/1000),2) 
| stats count(eval(timeinsecs &amp;lt;=8)) AS countofpases count(timeinsecs) as totalcount by PAGE_CATEGORY, PAGE_ID 
| eval sla= (countofpases/totalcount)*100 
| table PAGEID sla&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 18:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653101#M225683</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-03T18:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653453#M225811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response but i was looking for the results which gets&amp;nbsp; PAGE_ID=* and&amp;nbsp; the subsearch&amp;nbsp;&lt;/P&gt;&lt;P&gt;"PAGE_ID=DGEFH OR PAGE_ID=RGHJH NOT NUM_OF_MONTHS&amp;gt;=6 AND NOT NUM_OF_INDIVIDUALS_ON_CASE&amp;gt;=4"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 18:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653453#M225811</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-08-07T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653456#M225814</link>
      <description>&lt;P&gt;I explained why PAGE_ID are not in the results and offered one way to include it.&lt;/P&gt;&lt;P&gt;The original query already includes the specified search string (not a subsearch).&amp;nbsp; How is it not meeting expectations?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 18:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-Splunk-search-for-the-following-problem/m-p/653456#M225814</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-07T18:17:23Z</dc:date>
    </item>
  </channel>
</rss>

