<?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: Disabling the effect of  wildcard in a Query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375301#M110278</link>
    <description>&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  ..it worked&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2017 09:08:12 GMT</pubDate>
    <dc:creator>shabdadev</dc:creator>
    <dc:date>2017-07-03T09:08:12Z</dc:date>
    <item>
      <title>Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375297#M110274</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;

&lt;P&gt;I have this  query :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=no host=los*  sourcetype= plp  (  path=/desktop /pl/* ) OR ( path=/mobile/pl/*   ) |  stats perc95(responseTime) as "95th Perc Response Time" by path
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I Want the result to come  like this as shown below( coagulated response time for the desktop and mobile separately ) :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Path                                                           95th Perc Response Time
/desktop/pl/*                                            234
/mobile/pl/*                                              2344
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But the  result is showing  all the url's  in path section  just because i have used a wildcard  in that place .&lt;/P&gt;

&lt;P&gt;how to modify this query to get the expected the result.  ??&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 06:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375297#M110274</guid>
      <dc:creator>shabdadev</dc:creator>
      <dc:date>2017-07-03T06:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375298#M110275</link>
      <description>&lt;P&gt;@shabdadev, in order to avoid your code from getting escaped, use the code button (101010) while posting your query. Please try to Edit your question and re-post with code button query and sample table. &lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 07:39:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375298#M110275</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-03T07:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375299#M110276</link>
      <description>&lt;P&gt;HI Niket  i have modified the post ..please see again&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 08:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375299#M110276</guid>
      <dc:creator>shabdadev</dc:creator>
      <dc:date>2017-07-03T08:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375300#M110277</link>
      <description>&lt;P&gt;Try this instead (NOT TESTED so there might be typos):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=no host=los*  sourcetype= plp  (path="/desktop/pl/*" OR  path="/mobile/pl/*") 
| eval pathSummary = if(match(path, "/desktop/pl/*"), "/desktop/pl/*", "/mobile/pl/*")
|  stats perc95(responseTime) as "95th Perc Response Time" by pathSummary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The second line groups your paths based on your preferences and then assigns that into a new field that you can use in your stats.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 08:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375300#M110277</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2017-07-03T08:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375301#M110278</link>
      <description>&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  ..it worked&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:08:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375301#M110278</guid>
      <dc:creator>shabdadev</dc:creator>
      <dc:date>2017-07-03T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375302#M110279</link>
      <description>&lt;P&gt;Since you have only two paths (or systems) i.e. desktop and mobile in your base search. Following should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="no" host="los*"  sourcetype="plp"  (  path="/desktop/pl/*" ) OR ( path="/mobile/pl/*"   ) 
| eval path=if(match(path,"desktop"),"desktop","mobile")
| stats perc95(responseTime) as "95th Perc Response Time" by path
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375302#M110279</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-03T09:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375303#M110280</link>
      <description>&lt;P&gt;Oh too late. You already got your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375303#M110280</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-03T09:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the effect of  wildcard in a Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375304#M110281</link>
      <description>&lt;P&gt;hahahha  Thanks you Niket  too....i guess logic is same in both . Thanks again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disabling-the-effect-of-wildcard-in-a-Query/m-p/375304#M110281</guid>
      <dc:creator>shabdadev</dc:creator>
      <dc:date>2017-07-03T09:22:25Z</dc:date>
    </item>
  </channel>
</rss>

