<?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: How to create a extracted filed using regex on existing field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325127#M161399</link>
    <description>&lt;P&gt;sounds good. I just applied for sign up. Thanks for sharing&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 19:31:32 GMT</pubDate>
    <dc:creator>pradjswl</dc:creator>
    <dc:date>2017-04-13T19:31:32Z</dc:date>
    <item>
      <title>How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325116#M161388</link>
      <description>&lt;P&gt;By default regex uses _raw field in the field extractor. I dont want to use regex as part of the query but I want a field to be created in the event/app like calculated filed so it always stay as new field rather than specifying in the search query.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 21:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325116#M161388</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-11T21:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325117#M161389</link>
      <description>&lt;P&gt;You wan to &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.3/Scenarios/Extractfields"&gt;Extract Fields&lt;/A&gt; ? The linked documentation has the answer..., an extracted field will always appear in the search results if you have the appropriate permission to access it (ie. a global field extraction will apply to the particular sourcetype you extracted on in any application in Splunk).&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 21:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325117#M161389</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-04-11T21:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325118#M161390</link>
      <description>&lt;P&gt;It is certainly possible to still use the Field Extraction Tool and create an extraction that will get your data, but field extractions are done by sourcetype, etc. and look at the whole event rather than a field of the event. This does take more work to get a good regex, but it will work. If the event is complicated enough, you will have to resort to a custom regex, but I suggest doing your own regex anyway, since it will be more exact, easier to read and maintain, and probably far more optimized. When you are in the FET, show the regex, then edit the regex, and put in one that really works well for your data.&lt;/P&gt;

&lt;P&gt;If you need help with the regex, you can certainly ask for that help here, or on the Slack Splunk-user-groups channel.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 21:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325118#M161390</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-04-11T21:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325119#M161391</link>
      <description>&lt;P&gt;Hi pradjswl,&lt;BR /&gt;
you should find the correct regex using the rex command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex fiels=your_field "your_regex_with_field_extraction"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when you're sure of your regex go in [Settings -- Fields -- Fields extraction -- New] and then copy your regex in this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_regex_with_field_extraction in your_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in this way you perform a field extraction from the field you choosed (your_field.)&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 07:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325119#M161391</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-12T07:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325120#M161392</link>
      <description>&lt;P&gt;@garethatiag  this approach uses the regex command in the search query. I am looking for a method to create a custom field which should display the data in filed list even when regex is not specified in the search query. I am sorry If I was not clear enough in my question, as it was bit complicated to explain.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325120#M161392</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-12T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325121#M161393</link>
      <description>&lt;P&gt;@cpetterborg&lt;BR /&gt;
This is the regex query I have -&amp;gt; ((?P[^;]+);(?P[^;)]+).*$&lt;BR /&gt;
&amp;amp; I want to use on the existing filed x_UserAgent.&lt;/P&gt;

&lt;P&gt;What is "Slack Splunk-user-groups channel" i never heard about it ?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:17:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325121#M161393</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-12T14:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325122#M161394</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;

&lt;P&gt;I tried  [Settings -- Fields -- Fields extraction -- New] and then I copied "((?P[^;]+);(?P[^;)]+).*$ in x_UserAgent" without quote mark. I choose the name as a_xf_UA_OsType1,a_xf_UA_OsVer1 but it didnt work. I tried name as a_xf_UA it also didnt work.&lt;/P&gt;

&lt;P&gt;I have correctly added Appto-&amp;gt;SourcheTyppe, and chosen Type as Inline. still I dont get any custom filed created when I am running my sample query for that source type.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325122#M161394</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2020-09-29T13:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325123#M161395</link>
      <description>&lt;P&gt;You can't do an automatic field extraction from a field, only an event. And the trigger for the event has to be a sourcetype, host or source. So in order to do what you want you have to do your field extraction from the entire event. This means that you imagine that there are no fields and do the field extraction as if the x_UserAgent field isn't extracted.&lt;/P&gt;

&lt;P&gt;The Slack splunk-usergroups channel is a channel in Slack (&lt;A href="http://slack.com"&gt;http://slack.com&lt;/A&gt;) through which Splunk has set up a great user-driven discussion/support channel. Go to: &lt;A href="https://splunk-usergroups.signup.team/"&gt;signup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 20:51:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325123#M161395</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-04-12T20:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325124#M161396</link>
      <description>&lt;P&gt;If you read and test what is in that document that &lt;EM&gt;saves&lt;/EM&gt; a field extraction so you do not have to have it as part of future searches....&lt;/P&gt;

&lt;P&gt;Alternatively you could create the field extraction via Settings -&amp;gt; Fields -&amp;gt; Field Extractions&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 00:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325124#M161396</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-04-13T00:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325125#M161397</link>
      <description>&lt;P&gt;Hi pradjswl,&lt;BR /&gt;
I tried for test to extract from the "source" field the description after "Perfmon:" and runs with the following field extraction&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Perfmon:(?&amp;lt;my_field&amp;gt;[^ ]*) in source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does Your extraction run using the rex command?&lt;/P&gt;

&lt;P&gt;(probably there is a visualization problem but I don't see in your regex the field definition)&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 11:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325125#M161397</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-13T11:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325126#M161398</link>
      <description>&lt;P&gt;Is there a way you can attach a screenshot from your UI ? possible we are talking two different things. It doestn allow me to share the attachment due to karma points&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325126#M161398</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-13T19:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325127#M161399</link>
      <description>&lt;P&gt;sounds good. I just applied for sign up. Thanks for sharing&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 19:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325127#M161399</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-13T19:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325128#M161400</link>
      <description>&lt;P&gt;@cpetterborg&lt;BR /&gt;
I applied for sign up. I got invitation email but the link is not working.&lt;BR /&gt;
[SOCIAL NETWORK] &lt;A href="mailto:bot@stacktodo.com"&gt;bot@stacktodo.com&lt;/A&gt; has invited you to join a Slack team&lt;BR /&gt;
I responded to that email, but its not monitored distro.&lt;BR /&gt;
Whom do i report this ? I checked on several browser and its not working today n yesterday.&lt;BR /&gt;
Error "This site cant be reached"&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 18:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325128#M161400</guid>
      <dc:creator>pradjswl</dc:creator>
      <dc:date>2017-04-14T18:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325129#M161401</link>
      <description>&lt;P&gt;I don't know. I got that from the people on Slack. I'm not a Splunk employee, so I can't do any more. If I find out something, I'll let you know.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 19:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325129#M161401</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-04-14T19:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325130#M161402</link>
      <description>&lt;P&gt;There is an expiration in the reply email. Make sure you try to get back to the reply quickly enough that it works. That suggestion comes from our Splunk Sale Engineer.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 18:50:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325130#M161402</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-04-19T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a extracted filed using regex on existing field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325131#M161403</link>
      <description>&lt;P&gt;The regular method of field extraction (using IFX utility OR from Settings-&amp;gt; Fields -&amp;gt; Field extractions) doesn't allow you to extract the fields from another fields, unless you can write a regex off the _raw fields that will extract the value that you need. You would need to use Field Transforms to use another fields (which should be available before the fields transform is run, it can't include auto extracted fields. See this for more information on &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/Searchtimeoperationssequence#Search-time_operation_sequence" target="_blank"&gt;order of search time field extractions&lt;/A&gt;). So, first you need to create a Field transform (Settings-&amp;gt; Fields -&amp;gt; Fields transforms, select SOURCE_KEY as your original field name) and then create a Field extraction which refers to that transform (Settings-&amp;gt; Fields -&amp;gt; Field extractions , type should be 'Uses transform' and provide name of transform).&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:45:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-extracted-filed-using-regex-on-existing-field/m-p/325131#M161403</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T13:45:19Z</dc:date>
    </item>
  </channel>
</rss>

