<?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 Field extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/464407#M191604</link>
    <description>&lt;P&gt;/data/scripts/esx/output_crc/dc1-ch1-esxi05.dca.com-vmnic0-20191211-10:40:40.txt&lt;/P&gt;

&lt;P&gt;I need to extract the field "dc1-ch1-esxi05.dca.com" as host and "vmnic0" as interface and "20191211-10:40:40" as timestamp&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2019 07:33:44 GMT</pubDate>
    <dc:creator>Nadhiya_Dubai</dc:creator>
    <dc:date>2019-12-11T07:33:44Z</dc:date>
    <item>
      <title>Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/464407#M191604</link>
      <description>&lt;P&gt;/data/scripts/esx/output_crc/dc1-ch1-esxi05.dca.com-vmnic0-20191211-10:40:40.txt&lt;/P&gt;

&lt;P&gt;I need to extract the field "dc1-ch1-esxi05.dca.com" as host and "vmnic0" as interface and "20191211-10:40:40" as timestamp&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 07:33:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/464407#M191604</guid>
      <dc:creator>Nadhiya_Dubai</dc:creator>
      <dc:date>2019-12-11T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/464408#M191605</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval path="/data/scripts/esx/output_crc/dc1-ch1-esxi05.dca.com-vmnic0-20191211-10:40:40.txt" 
| rex field=path "(?P&amp;lt;host&amp;gt;[^\/]+)-(?P&amp;lt;interface&amp;gt;\w+)-(?P&amp;lt;timestamp&amp;gt;\d{8}-\d{2}:\d{2}:\d{2}).txt$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Dec 2019 07:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/464408#M191605</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-12-11T07:38:20Z</dc:date>
    </item>
  </channel>
</rss>

