<?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 do I extract filename from different paths in the field name &amp;quot;FileList&amp;quot;  with the help of regex ? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-extract-filename-from-different-paths-in-the-field-name/m-p/504563#M9037</link>
    <description>&lt;P&gt;I have below files in one of the fields named "FileList"&lt;BR /&gt;/dir1/dir2/f1.txt&lt;/P&gt;&lt;P&gt;/dir1/f2.csv&lt;/P&gt;&lt;P&gt;/dir1/dir2/dir3/xyzdir/f3.bat&lt;/P&gt;&lt;P&gt;f4.txt&lt;/P&gt;&lt;P&gt;/xvz/dir/f5.txt&lt;BR /&gt;&lt;BR /&gt;I want an output which shows only the last name which is the actual filename from the above "FileList" field as below&lt;BR /&gt;f1.txt&lt;/P&gt;&lt;P&gt;f2.csv&lt;/P&gt;&lt;P&gt;f3.bat&lt;/P&gt;&lt;P&gt;f4.txt&lt;/P&gt;&lt;P&gt;f5.txt&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 08:54:44 GMT</pubDate>
    <dc:creator>jugalkinariwala</dc:creator>
    <dc:date>2020-06-16T08:54:44Z</dc:date>
    <item>
      <title>How do I extract filename from different paths in the field name "FileList"  with the help of regex ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-extract-filename-from-different-paths-in-the-field-name/m-p/504563#M9037</link>
      <description>&lt;P&gt;I have below files in one of the fields named "FileList"&lt;BR /&gt;/dir1/dir2/f1.txt&lt;/P&gt;&lt;P&gt;/dir1/f2.csv&lt;/P&gt;&lt;P&gt;/dir1/dir2/dir3/xyzdir/f3.bat&lt;/P&gt;&lt;P&gt;f4.txt&lt;/P&gt;&lt;P&gt;/xvz/dir/f5.txt&lt;BR /&gt;&lt;BR /&gt;I want an output which shows only the last name which is the actual filename from the above "FileList" field as below&lt;BR /&gt;f1.txt&lt;/P&gt;&lt;P&gt;f2.csv&lt;/P&gt;&lt;P&gt;f3.bat&lt;/P&gt;&lt;P&gt;f4.txt&lt;/P&gt;&lt;P&gt;f5.txt&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 08:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-do-I-extract-filename-from-different-paths-in-the-field-name/m-p/504563#M9037</guid>
      <dc:creator>jugalkinariwala</dc:creator>
      <dc:date>2020-06-16T08:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract filename from different paths in the field name "FileList"  with the help of regex ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-do-I-extract-filename-from-different-paths-in-the-field-name/m-p/504565#M9038</link>
      <description>&lt;P&gt;Got the results myself .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 09:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-do-I-extract-filename-from-different-paths-in-the-field-name/m-p/504565#M9038</guid>
      <dc:creator>jugalkinariwala</dc:creator>
      <dc:date>2020-06-16T09:09:59Z</dc:date>
    </item>
  </channel>
</rss>

