<?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: Can I make a search time field extraction from a piece of the file/source? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342578#M101476</link>
    <description>&lt;P&gt;How would I do the same in props.conf so it is perm setting?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2017 16:25:10 GMT</pubDate>
    <dc:creator>brent_weaver</dc:creator>
    <dc:date>2017-09-19T16:25:10Z</dc:date>
    <item>
      <title>Can I make a search time field extraction from a piece of the file/source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342576#M101474</link>
      <description>&lt;P&gt;I need to create a field in splunk that is a portion of the file path, do I need to do that @ index time or can I do it at search time? I know the regex just dont know how to make a portion of source into a field in the event.&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342576#M101474</guid>
      <dc:creator>brent_weaver</dc:creator>
      <dc:date>2017-09-19T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make a search time field extraction from a piece of the file/source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342577#M101475</link>
      <description>&lt;P&gt;you can see the source field to the left of the pane and below each event?&lt;BR /&gt;
If yes then just try  | rex field=source (your regex expression)....it will extract the regex from your source field&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:17:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342577#M101475</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-19T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make a search time field extraction from a piece of the file/source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342578#M101476</link>
      <description>&lt;P&gt;How would I do the same in props.conf so it is perm setting?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342578#M101476</guid>
      <dc:creator>brent_weaver</dc:creator>
      <dc:date>2017-09-19T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make a search time field extraction from a piece of the file/source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342579#M101477</link>
      <description>&lt;P&gt;you can. if your search regex is working fine you can do it at index time in props.conf.. check this out&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/5960/extract-a-field-from-event-source-filename.html"&gt;https://answers.splunk.com/answers/5960/extract-a-field-from-event-source-filename.html&lt;/A&gt;&lt;BR /&gt;
However, one year ago I had done something similar and well, it hit me after 6 months when a different team working on the same source wanted to extract something else AND I had already disturbed that by editing the props.conf .... it is better to do this at search time , due to performance considerations as well as keeping future needs into account. However, the call is yours  and the link above already answers this, you will have to use (almost) the same regex that you are using at search time.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342579#M101477</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-19T16:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make a search time field extraction from a piece of the file/source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342580#M101478</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;Configuring your field extractions in props.conf&lt;/A&gt; (click me!).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-make-a-search-time-field-extraction-from-a-piece-of-the/m-p/342580#M101478</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-09-19T16:47:32Z</dc:date>
    </item>
  </channel>
</rss>

