<?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 add a field extraction to an existing default field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285712#M86446</link>
    <description>&lt;P&gt;Try adding a different field name instead of user for field extraction and then use a field alias to link both&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addaliasestofields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addaliasestofields&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Dec 2015 12:58:33 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2015-12-19T12:58:33Z</dc:date>
    <item>
      <title>How to add a field extraction to an existing default field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285710#M86444</link>
      <description>&lt;P&gt;I have logs that do not use the default name value format for the &lt;STRONG&gt;user&lt;/STRONG&gt; field.  When I add a field extractor for my user format and name it "user", the default format of "user=" no longer is included in the search.  How to I add to the existing field rule rather than replace it?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 15:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285710#M86444</guid>
      <dc:creator>CREVITCH</dc:creator>
      <dc:date>2015-12-18T15:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a field extraction to an existing default field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285711#M86445</link>
      <description>&lt;P&gt;I have a number of formats for user.  How can I create a field extractor that will cover all of them:&lt;/P&gt;

&lt;P&gt;session closed for user XXXX&lt;BR /&gt;
session opened for user XXXX&lt;BR /&gt;
disconnected by user XXXX&lt;BR /&gt;
invalid user XXXX&lt;BR /&gt;
about user XXXX&lt;BR /&gt;
check pass; user unknown&lt;BR /&gt;
Invalid user XXXX&lt;BR /&gt;
user=XXXX (default built into linux_secure)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 16:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285711#M86445</guid>
      <dc:creator>CREVITCH</dc:creator>
      <dc:date>2015-12-18T16:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a field extraction to an existing default field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285712#M86446</link>
      <description>&lt;P&gt;Try adding a different field name instead of user for field extraction and then use a field alias to link both&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addaliasestofields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/Addaliasestofields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 12:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285712#M86446</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2015-12-19T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a field extraction to an existing default field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285713#M86447</link>
      <description>&lt;P&gt;You can do it like this :&lt;/P&gt;

&lt;H4&gt;props.conf:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourcetypeHere]
REPORT-SomeArbitraryUniqueStringHere = UserFieldMultipleFormats
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;transforms.conf:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;[UserFieldMultipleFormats]
REGEX = (?:session (?:closed|opened) for|disconnected by|[Ii]nvalid|about|check pass;) user (\w+)
FORMAT = user::$1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Dec 2015 15:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-field-extraction-to-an-existing-default-field/m-p/285713#M86447</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-21T15:09:47Z</dc:date>
    </item>
  </channel>
</rss>

