<?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 Search for file path and only that file path to come back nothing else in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318338#M95253</link>
    <description>&lt;P&gt;hi &lt;/P&gt;

&lt;P&gt;I have the following files&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/logs/traces/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/logs/traces/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/XXX/YYY
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when i run the below search i get all the directories back, in this case i just want the one /net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/. Not the other 3&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search File_location = */net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/* 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers for you help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:36:13 GMT</pubDate>
    <dc:creator>robertlynch2020</dc:creator>
    <dc:date>2020-09-29T13:36:13Z</dc:date>
    <item>
      <title>Search for file path and only that file path to come back nothing else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318338#M95253</link>
      <description>&lt;P&gt;hi &lt;/P&gt;

&lt;P&gt;I have the following files&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/logs/traces/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/logs/traces/
/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/XXX/YYY
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when i run the below search i get all the directories back, in this case i just want the one /net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/. Not the other 3&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search File_location = */net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/* 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers for you help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318338#M95253</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2020-09-29T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search for file path and only that file path to come back nothing else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318339#M95254</link>
      <description>&lt;P&gt;Does this work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; File_location = */net/dell427srv/data1/apps/*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If so, it might be a segmenter "problem"&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 11:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318339#M95254</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-04-11T11:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search for file path and only that file path to come back nothing else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318340#M95255</link>
      <description>&lt;P&gt;@robertlynch2020... If you want exact match, you should be taking out the * asterisk wildcard for pattern matching.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search File_location = "/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Apr 2017 11:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318340#M95255</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-11T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search for file path and only that file path to come back nothing else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318341#M95256</link>
      <description>&lt;P&gt;cheers that worked &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;| search File_location = "/net/dell427srv/data1/apps/QCST_DBS_RSAT_v3.1.38_MASTER_DONOTRESTART/"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318341#M95256</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2020-09-29T13:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Search for file path and only that file path to come back nothing else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318342#M95257</link>
      <description>&lt;P&gt;@robertlynch2020... Glad it worked. I have converted my comment to answer. Since you have accepted your own answers, please upvote my answer, since it helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-file-path-and-only-that-file-path-to-come-back/m-p/318342#M95257</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-11T12:57:22Z</dc:date>
    </item>
  </channel>
</rss>

