<?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: permanently extracting a field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212004#M187898</link>
    <description>&lt;P&gt;You can do a search time field extraction by editing the props.conf in the splunk app you're searching within.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetypeName]
...
extract-codes = (?&amp;lt;Codes&amp;gt;(\w{5,3}\s+)+) in message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if that doesnt work, remove "in message".&lt;/P&gt;

&lt;P&gt;In effect, this is what the field extractor sundareshr has mentioned does.  Just keep in mind the search time extractions are specific to the splunk app you are in when you run your search/alert/report.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2015 09:21:43 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2015-12-31T09:21:43Z</dc:date>
    <item>
      <title>permanently extracting a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212002#M187896</link>
      <description>&lt;P&gt;Hi, I am using regex to extract a field. However, I need to make it permanent so that I don't have use regex in future searches. The regex is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; rex field=message "(?&amp;lt;Codes&amp;gt;(\w{5,3}\s+)+"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would really appreciate any help! I hope I've provided sufficient information.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 02:36:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212002#M187896</guid>
      <dc:creator>moe44688</dc:creator>
      <dc:date>2015-12-31T02:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: permanently extracting a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212003#M187897</link>
      <description>&lt;P&gt;This should help you with permanent extractions&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 03:15:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212003#M187897</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-12-31T03:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: permanently extracting a field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212004#M187898</link>
      <description>&lt;P&gt;You can do a search time field extraction by editing the props.conf in the splunk app you're searching within.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetypeName]
...
extract-codes = (?&amp;lt;Codes&amp;gt;(\w{5,3}\s+)+) in message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if that doesnt work, remove "in message".&lt;/P&gt;

&lt;P&gt;In effect, this is what the field extractor sundareshr has mentioned does.  Just keep in mind the search time extractions are specific to the splunk app you are in when you run your search/alert/report.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 09:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/permanently-extracting-a-field/m-p/212004#M187898</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2015-12-31T09:21:43Z</dc:date>
    </item>
  </channel>
</rss>

