<?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: Trouble creating a new field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337189#M160822</link>
    <description>&lt;P&gt;use the field extractor&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 15:47:57 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-06-06T15:47:57Z</dc:date>
    <item>
      <title>Trouble creating a new field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337188#M160821</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;2017-06-06 08:30:56,761 [ajp-127.0.0.4-8009-44] INFO  Weblogger  - 3B08FDCAF216658E81536A07B9D5772E: cdbarnes: reset randomusername LDAP password. ticket: 3121467
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Given the above line from a log, I need to have a field for "randomusername." The goal would then be to plot it on a timechart so that it can readily be discerned how many times a given user changes their password within a timeframe.  I'm not sure of the best approach to isolate the username and make it its own field to begin with.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337188#M160821</guid>
      <dc:creator>gforster</dc:creator>
      <dc:date>2017-06-06T14:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating a new field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337189#M160822</link>
      <description>&lt;P&gt;use the field extractor&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337189#M160822</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-06T15:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating a new field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337190#M160823</link>
      <description>&lt;P&gt;You can begin using rex command, one example is below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Your Base Search&amp;gt;
| rex field=_raw "reset (?&amp;lt;UserName&amp;gt;.+) LDAP password"
| table UserName _raw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, you should ideally perform the same using &lt;STRONG&gt;Interactive Field Extraction (IFX)&lt;/STRONG&gt; through the &lt;STRONG&gt;Extract New Fields&lt;/STRONG&gt; option through your Splunk Search screen. Refer to the documentation for Step By Step process. Two advantages would be &lt;BR /&gt;
1) Splunk will generate/adjust regular expression based on your data/needs&lt;BR /&gt;
2) Fields will persist as Knowledge Object hence can be reused.&lt;BR /&gt;
3) You can override with your own regular expression.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:51:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trouble-creating-a-new-field/m-p/337190#M160823</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-06-06T15:51:41Z</dc:date>
    </item>
  </channel>
</rss>

