<?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: Interactive field extractor not selecting all named values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152852#M42839</link>
    <description>&lt;P&gt;You might need to learn a little about regular expressions and edit the regex that the IFX generates. Splunk can only perform a brute-force analysis of the data to create a regular expression - since you have an understanding of your own data, you can probably do better.&lt;/P&gt;

&lt;P&gt;If you don't know regular expressions, here is a pretty decent and short tutorial:&lt;BR /&gt;
&lt;A href="http://regexone.com/"&gt;http://regexone.com/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, if you gave the community an idea of what you want to extract, we could help with the regular expressions. Your question really doesn't tell us much. &lt;/P&gt;</description>
    <pubDate>Sat, 28 Feb 2015 19:41:46 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2015-02-28T19:41:46Z</dc:date>
    <item>
      <title>Interactive field extractor not selecting all named values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152851#M42838</link>
      <description>&lt;P&gt;Below is my data.  I have used very simple "Example values for a field" like, 23 or 1.27, or msec or threads.  &lt;/P&gt;

&lt;H2&gt;The response back never properly defines the named objects.  Goal is to be able to report on the values below over time.&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;DBWaitTime.avg: 1.273037542662116   msecs
DBWaitTime.completed:   293 ops
DBWaitTime.maxActive:   1   threads
DBWaitTime.maxTime: 23  msecs
DBWaitTime.minTime: 0   msecs
DBWaitTime.time:    373 msecs
JDBC_Connection_Url.value:  jdbc:oracle:thin:   
JDBC_Connection_Username.value:    PORTLET  
LogicalConnection.value:    null    
/JDBC/Driver/CONNECTION_5/Statement [type=JDBC_Statement]
Execute.active: 0   threads
Execute.avg:    1.3652482269503545  msecs
Execute.completed:  282 ops
Execute.maxActive:  1   threads
Execute.maxTime:    10  msecs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Feb 2015 18:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152851#M42838</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2015-02-28T18:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive field extractor not selecting all named values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152852#M42839</link>
      <description>&lt;P&gt;You might need to learn a little about regular expressions and edit the regex that the IFX generates. Splunk can only perform a brute-force analysis of the data to create a regular expression - since you have an understanding of your own data, you can probably do better.&lt;/P&gt;

&lt;P&gt;If you don't know regular expressions, here is a pretty decent and short tutorial:&lt;BR /&gt;
&lt;A href="http://regexone.com/"&gt;http://regexone.com/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, if you gave the community an idea of what you want to extract, we could help with the regular expressions. Your question really doesn't tell us much. &lt;/P&gt;</description>
      <pubDate>Sat, 28 Feb 2015 19:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152852#M42839</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-02-28T19:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive field extractor not selecting all named values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152853#M42840</link>
      <description>&lt;P&gt;Thank you for your response.&lt;BR /&gt;
a use case of the report for the data above would be "DBWaitTime.avg" over time.&lt;BR /&gt;
My understanding is I should be able to extract this filed (and others) based on the query.&lt;/P&gt;

&lt;H2&gt;In the examples I have watched, the end user selects the changing variable (the " 1.273037542662116 ") for SPLUNK to "learn" the log.  &lt;/H2&gt;

&lt;P&gt;For converstaion purposes, using this segment:          DBWaitTime.avg: 1.273037542662116 msecs&lt;BR /&gt;
Should I be creating a field extractions off of:&lt;BR /&gt;
1)     DBWaitTime.ave&lt;BR /&gt;
2)     1.273037542662116 &lt;/P&gt;

&lt;H2&gt;3)     msecs&lt;/H2&gt;

&lt;P&gt;If I choose: &lt;/P&gt;

&lt;H1&gt;1 the response is "regex" can not be learned&lt;/H1&gt;

&lt;H1&gt;2) the response highlights very good information, but the field names are now the found response times (numbers)&lt;/H1&gt;

&lt;H1&gt;3) the response highlights very good information, but the field names are now the found response names (msec,threads,ops)&lt;/H1&gt;

&lt;P&gt;GOAL is to chart Database wait time (in msec) over time.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Feb 2015 20:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152853#M42840</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2015-02-28T20:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive field extractor not selecting all named values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152854#M42841</link>
      <description>&lt;P&gt;I am almost there, and really appreciate assistance with connecting the dots.&lt;BR /&gt;
The generation of the Field extractor Regex is much more complex than that on the web.&lt;/P&gt;

&lt;P&gt;Looking back at my data above, if I use an on-line tool with, the following I get all the digits required:   &lt;STRONG&gt;(?:\d*.)?\d+&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;How do I add this to what is being generated by the extractor?:        &lt;STRONG&gt;(?i).count:\t(?P[^\t]+)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;My lack of understanding (among other things) the "?i" "\t" "P" "^\t"&lt;BR /&gt;
My understand of the above is " period, count to the : any ? ( Optional Letter? field Name Starts with any digit?) one or more repetitions.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2015 17:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Interactive-field-extractor-not-selecting-all-named-values/m-p/152854#M42841</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2015-03-03T17:13:40Z</dc:date>
    </item>
  </channel>
</rss>

