<?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: simple field extraction not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16496#M2224</link>
    <description>&lt;P&gt;Try setting &lt;CODE&gt;CHECK_FOR_HEADER=False&lt;/CODE&gt;.  That's probably your issue.  Sounds like you have fixed fields anyways, so it's better not to use it.  (I've never had success with using the auto header thing.... Go look in &lt;CODE&gt;etc/apps/learning/local/transforms.conf&lt;/CODE&gt; to see what "AutoHeader-2" is setup to do)  When you move to a more production-level situation, make sure you are actually assigning a souretype name (other than &lt;CODE&gt;csv-3&lt;/CODE&gt;), this is especially important for delimited files, because you can only have one field-extraction setup per sourcetype.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2010 20:57:32 GMT</pubDate>
    <dc:creator>Lowell</dc:creator>
    <dc:date>2010-07-01T20:57:32Z</dc:date>
    <item>
      <title>simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16478#M2206</link>
      <description>&lt;P&gt;I've been breaking my head over this very simple field extraction. &lt;/P&gt;

&lt;P&gt;My extraction (see eg., below) has problems because my time format has "-" and so do my other fields. I cannot specify the position of timestamp since I have 2-3 timestamps in an event. what is the best way to extract these fields?&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::C:\Documents and Settings\Sample]
TIME_FORMAT= %Y-%M-%D  %H:%M:%S
CHECK_FOR_HEADER = false 
REPORT-test = test
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test] 
DELIMS = ","
FIELDS = "severity", "alm_no", "site_id", "alm_type","rsv1", "start_time", "end_time","duration", "rsv2"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Sample in input file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MINOR,56789,/aaa-bbb-bbb/tv-daop/Rkhkjkj #2/Shelf #2/jjj #1, FAIL, , 2010-06-24 21:57:46,2010-06-24 21:59:23,0 00:01:37,N/A
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk search result&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Severity=MINOR |  alm_no=56789  |  site_id=/aaa/ |  start_time=-bbb-bbb/tv-d  |  end_time=o  |  duration=/Rkhkjkj #2/Shelf #2/jjj #1 |  rsv2_par=FAIL 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jun 2010 22:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16478#M2206</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-06-29T22:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16479#M2207</link>
      <description>&lt;P&gt;I'm not sure what's going on with your "-" character in your event.  Are you generating these CSV files, or is that some app outside of your control?  (The reason I ask is that using some double quotes could make this easier to process)&lt;/P&gt;

&lt;P&gt;BTW, You still can specify which timestamp to use using &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt;, even if you have a CSV file, but it does look more ugly with csv files.  Here is an example that would use your start_time field as the timestamp:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; SHOULD_LINEMERGE = False
 TIME_PREFIX = ^(?:[^,]*,){5}\s*
 TIME_FORMAT= %Y-%m-%d %H:%M:%S
 MAX_TIMESTAMP_LOOKAHEAD = 256
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your existing timestamp format was incorrect.  This one should work for you (notice the lowercase %m and %d in the date portion).  You may need to play with the value for &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; depending on how much data exists before your timestamps per line.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;  Please understand that splunk can only extract a single timestamp for an event.  This timestamp is what is displayed on the left of event when looking at the search web interface.  Splunk uses this to order how events are stored internally, and this value can be found in the &lt;CODE&gt;_time&lt;/CODE&gt; field.   Now, since your event has multiple timestamp in the raw text of your event, you simply have to pick one to be your primary timestamp that splunk uses.  Keep in mind that this is different than defining custom fields which happen to contain timestamps, which is the case for your  "start_time" and "end_time" custom-defined fields.  (You can use the same actual timestamp for both an extracted field and for the events actual timestamp.)&lt;/P&gt;

&lt;P&gt;Also keep in mind that if you have commas inside your csv fields, or any kind of special quoting, then a more sophisticated regex would be needed.&lt;/P&gt;

&lt;P&gt;As far as extracting your fields, the delimited approach should work for you.  However, there are times where you need to use a regex-based approach.  Something like:  (this goes in your &lt;CODE&gt;props.conf&lt;/CODE&gt; file)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EXTRACT-csv_fields = ^(?&amp;lt;severity&amp;gt;[^,]*),(?&amp;lt;alm_no&amp;gt;[^,]+),(?&amp;lt;site_id&amp;gt;[^,]*), ....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Yeah, this approach is very tedious and somewhat error prone, but it does give you ultimate control over how your fields are extracted.&lt;/P&gt;

&lt;P&gt;Does this help?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2010 23:35:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16479#M2207</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-29T23:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16480#M2208</link>
      <description>&lt;P&gt;Notice dashes in my field #3? "aaa-bbb-bbb" . these interfear with my formatting TIME-FORMAT. Doesn't matter if the date is in upper or lower case. Doesn't matter if you specifiy the position or not. Even afetr I did changes that you mentioned above, the same problem exists. If I just remove the dashes in field #3, things work fine even with my original conf file. One more thing to note is that I need to extract 2-3 valid timestamps in an event.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2010 23:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16480#M2208</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-06-29T23:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16481#M2209</link>
      <description>&lt;P&gt;I have no control over the CSV file for now. I'll think about ways to change that in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 00:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16481#M2209</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-06-30T00:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16482#M2210</link>
      <description>&lt;P&gt;Whoops, I had a typo (extra space) in &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;. (I updated my answer)  And yes, case is very important  here, &lt;CODE&gt;%m&lt;/CODE&gt; means month, where as &lt;CODE&gt;%M&lt;/CODE&gt; means minute which are NOT interchangeable.  Make sure you are restarting splunk after you changes and then feeding in new events since these are index-time changes and not search-time changes; so only newly indexed events will be effected by the such changes...   Splunk only supports a single timestamp per event, however you can extract the other timestamps and do field manipulation with them, but you have to chose 1 to be your event's timestamp.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 00:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16482#M2210</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T00:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16483#M2211</link>
      <description>&lt;P&gt;I think there's some confusion on timestamps.  I'd added an update in the answer.  The value for &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; is in &lt;EM&gt;no way&lt;/EM&gt; used to extract the value of your &lt;CODE&gt;start_time&lt;/CODE&gt; or &lt;CODE&gt;end_time&lt;/CODE&gt; fields.  &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; and &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; are &lt;EM&gt;only&lt;/EM&gt; used to extract splunk's internal timestamp associated with your event. (This could/should be "just working" out of the box, so perhaps I completely misunderstood where your problem was to begin with.)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 00:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16483#M2211</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16484#M2212</link>
      <description>&lt;P&gt;ok, that explains everything. Thanks for clearing up the internal vs extracted time. Splunk extracts the internal timestamp just fine (looked on the left ). I was confused because my start_time and end_time were not extracted. Now the problem becomes entirely differet. I removed everything about TIME_FORMAT from props.conf and kept transforms.conf.&lt;BR /&gt;
a) things work fine if there are no dashes in any fields (fields 1-5)&lt;BR /&gt;
b) extraction is absurd when there are any dash anywhere in the fields. so DELIMITS is not doing the job.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16484#M2212</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2020-09-28T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16485#M2213</link>
      <description>&lt;P&gt;Try updating your question with what you now know.  You may want to also change the title of your question to something like:  "Delimited field extraction not working when field contains dashes"  You question should get more attention this way.  I'm wondering if this is a bug.  Is the sample posted a literal example, or has it been tweaked for posting on the web?  Nothing about "-" should be special in this case....&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 02:00:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16485#M2213</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T02:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16486#M2214</link>
      <description>&lt;P&gt;BTW.  Explicitly specifying a &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; and &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; is recommended by splunk for performance reasons; and I've found it to be worth the effort.  Especially since you have two dates, it's probably better to be explicit about it--you don't want splunk to randomly pick which timestamp to use, you probably want it to always be the same.  Just my 2 cents.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 02:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16486#M2214</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T02:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16487#M2215</link>
      <description>&lt;P&gt;Per your suggestion, I was about to restate my question. Since strange things were happening, I thought i'll test it out thoroughly before posing the question. I can't explain what I am seeing: it is NOT the dash that is causing the problem , it is "a" (lower-case a) . Insane! a acts as delimiter. When I manually changed all my "a"s to "A"s, things work fine. Am I missnig something?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 08:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16487#M2215</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-06-30T08:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16488#M2216</link>
      <description>&lt;P&gt;With all this insanity, I can't even conclude if it is just the "a" or if any other character has the same issue.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 08:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16488#M2216</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-06-30T08:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16489#M2217</link>
      <description>&lt;P&gt;Wow.  That is very odd.  What version are you running?  Have you tried renaming your 'test' stanza to another name (perhaps there is a conflict somewhere).&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 20:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16489#M2217</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T20:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16490#M2218</link>
      <description>&lt;P&gt;(This is really just another comment, but I need better formatting so I'm posting it as an "answer")&lt;/P&gt;

&lt;P&gt;I copied your example to a test file on my system (Splunk 4.1.3 on Ubuntu Linux 8.04) to attempt to reproduce your issue.  I saved your sample in a local file ("/tmp/weird_delims.log") and added the following entries in $SPLUNK_HOME/etc/system/local:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [weird_delims-too_small]
 # This it the automatically assigned sourcetype (based on the name I gave the test input file)
 REPORT-test = test
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;:  (exactly the same as yours)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test]
DELIMS = ","
FIELDS = "severity", "alm_no", "site_id", "alm_type","rsv1", "start_time", "end_time","duration", "rsv2"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then I ran the following search:   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| file /tmp/weird_delims.log | extract reload=T
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;&lt;EM&gt;Quick explanation:&lt;/EM&gt;  The &lt;CODE&gt;file&lt;/CODE&gt; command let me see your log file in splunk without actually indexing it.  (It's like a "preview").  The the &lt;CODE&gt;extract&lt;/CODE&gt; tells splunk to reload the props/transforms stuff without restarting splunkd.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;When looking at the fields, they all look correct.  I'm not going to copy them all, but here are a few of them:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;alm_no=56789
duration=0 00:01:37
rsv2=N/A
severity=MINOR
site_id=/aaa-bbb-bbb/tv-daop/Rkhkjkj #2/Shelf #2/jjj #1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm not seeing any of the weirdness that you are experiencing with your configs.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Have you tried using &lt;CODE&gt;btool&lt;/CODE&gt; to show your config entries, just to double check that you don't have overlapping configs?  You should also try running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk test sourcetype "C:\Documents and Settings\Sample\name_of_your_file"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And see what all props settings come back.  I suspect you have some kind of overlapping config that is causing problems for you.&lt;/P&gt;

&lt;P&gt;You may find this helpful:  &lt;A href="http://answers.splunk.com/questions/4075/whats-the-best-way-to-track-down-props-conf-problems" rel="nofollow"&gt;What’s the best way to track down props.conf problems?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I can reproduce the behavior your seeing exactly by simply setting &lt;CODE&gt;DELIMS = "ap,"&lt;/CODE&gt;.  I'm fairly convinced at this point that you have some kind of weird config stanza leakage thing going on.  &lt;CODE&gt;btool&lt;/CODE&gt; is your friend.  (If you accidentally set &lt;CODE&gt;DELIMS =&lt;/CODE&gt; to your list of fields, you see something similar.)&lt;/P&gt;

&lt;P&gt;Please post the results of the command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\bin\btool.exe transforms list test
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jun 2010 20:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16490#M2218</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-30T20:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16491#M2219</link>
      <description>&lt;P&gt;(Adding as answer since I cannot post this as comment)&lt;/P&gt;

&lt;P&gt;Sorry to confuse with 2 postings. I was monitoring the other one. You may be right on about the leakage!!!  I don't know how this is happening. If I have my transforms exactly like above, I get a blank when I run the command. BUT - when I have the first line in transforms.conf as blank line and run the command I get this :
C:\Program Files\Splunk\bin&amp;gt;btool transforms list test&lt;/P&gt;

&lt;P&gt;[test]
CAN_OPTIMIZE = True&lt;/P&gt;

&lt;P&gt;CLEAN_KEYS = True&lt;/P&gt;

&lt;P&gt;DEFAULT_VALUE =&lt;/P&gt;

&lt;P&gt;DELIMS = ","\par&lt;/P&gt;

&lt;P&gt;DEST_KEY =&lt;/P&gt;

&lt;P&gt;FIELDS = "severity", "alm_no", "site_id", "alm_type","rsv1", "start_time", "end_
time","duration", "rsv2"\par&lt;/P&gt;

&lt;P&gt;FORMAT =&lt;/P&gt;

&lt;P&gt;LOOKAHEAD = 4096&lt;/P&gt;

&lt;P&gt;MV_ADD = False&lt;/P&gt;

&lt;P&gt;REGEX =&lt;/P&gt;

&lt;P&gt;SOURCE_KEY = _raw&lt;/P&gt;

&lt;P&gt;WRITE_META = False&lt;/P&gt;

&lt;P&gt;What in the world in \par at the end of my DELIMS? I don't see it when I open the file. Is this causing problem?&lt;/P&gt;

&lt;P&gt;BTW, I am very new to his tool and this is the first transforms, props that I am editing. everything else is brand new , i.e, no meddling.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update after solving DELIMS issue&lt;/STRONG&gt;
After I solved the \par mystery, tried again to see that my field extractions are not showing up again. Used test source and here is what I get:&lt;/P&gt;

&lt;P&gt;C:\Program Files\Splunk\bin&amp;gt;splunk test sourcetype "C:\Documents and Settings\Sample\trial.csv"&lt;/P&gt;

&lt;P&gt;Using logging configuration at C:\Program Files\Splunk\etc\log-cmdline.cfg.
INFO  FileClassifierManager - AutoHeader: delim=',', score=1.000, count=17, mode
=8.000, filename="trial.csv"&lt;/P&gt;

&lt;P&gt;INFO  FileClassifierManager - AutoHeader: filename="trial.csv", found headerline
=[MINOR,56789,/aaa-bbb-bbb/tv-daop/Rkhkjkj #2/Shelf #2/jjj #1, FAIL, , 2010-06-24 21:57:46,2010-06-24 21:59:23,0 00:01:37,N/A]&lt;/P&gt;

&lt;P&gt;INFO  FileClassifierManager - AutoHeader: skipped saving. found exact transforms
.conf entry, stanza_name="REPORT-AutoHeader" linked in props="csv-3", filename="
trial.csv"&lt;/P&gt;

&lt;P&gt;INFO  FileClassifierManager - AutoHeader: changing sourcetype from="csv" to="csv
-3" for filename="trial.csv"&lt;/P&gt;

&lt;P&gt;PROPERTIES OF C:\Documents and Settings\Sample\trial.csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Attr:BREAK_ONLY_BEFORE
    Attr:BREAK_ONLY_BEFORE_DATE     True
    Attr:CHARSET    AUTO
    Attr:CHECK_FOR_HEADER   true
    Attr:DATETIME_CONFIG    \etc\datetime.xml
    Attr:KV_MODE    none
    Attr:LEARN_SOURCETYPE   true
    Attr:MAX_DAYS_AGO       2000
    Attr:MAX_DAYS_HENCE     2
    Attr:MAX_DIFF_SECS_AGO  3600
    Attr:MAX_DIFF_SECS_HENCE        604800
    Attr:MAX_EVENTS 256
    Attr:MAX_TIMESTAMP_LOOKAHEAD    128
    Attr:MUST_BREAK_AFTER
    Attr:MUST_NOT_BREAK_AFTER
    Attr:MUST_NOT_BREAK_BEFORE
    Attr:REPORT-AutoHeader  AutoHeader-2
    Attr:SEGMENTATION       indexing
    Attr:SEGMENTATION-all   full
    Attr:SEGMENTATION-inner inner
    Attr:SEGMENTATION-outer outer
    Attr:SEGMENTATION-raw   none
    Attr:SEGMENTATION-standard      standard
    Attr:SHOULD_LINEMERGE   False
    Attr:TRANSFORMS
    Attr:TRUNCATE   10000
    Attr:is_valid   True
    Attr:maxDist    100
    Attr:pulldown_type      true
    Attr:sourcetype csv-3
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Jul 2010 01:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16491#M2219</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-07-01T01:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16492#M2220</link>
      <description>&lt;P&gt;FINALLY found the issue!! because of the strange characters appending to the FILEDS and DELIMS, I was suspicious and opened the files with a different editor. Voila! I saw these wierd characters and deleted them. Now the output to btool looks clean.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 04:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16492#M2220</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-07-01T04:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16493#M2221</link>
      <description>&lt;P&gt;wow.  very weird.  Good to know it's not a splunk bug though. (You don't have to wait for the next release.)  Feel free to reference my question about tracking down props.conf bugs (I put i link in one of my posts), I tried to collect a bunch of common mistakes that I made when I started out.   Glad its working for you now.  Best of luck moving forward!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 05:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16493#M2221</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-01T05:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16494#M2222</link>
      <description>&lt;P&gt;result of splunk test sourcetype below.  I know AutoHeader is doing something but not sure what. Still not seeing my custom fields in search.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 05:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16494#M2222</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-07-01T05:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16495#M2223</link>
      <description>&lt;P&gt;Thanks much for being so helpful! See above for props.conf issue.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 05:31:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16495#M2223</guid>
      <dc:creator>pjmenon</dc:creator>
      <dc:date>2010-07-01T05:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16496#M2224</link>
      <description>&lt;P&gt;Try setting &lt;CODE&gt;CHECK_FOR_HEADER=False&lt;/CODE&gt;.  That's probably your issue.  Sounds like you have fixed fields anyways, so it's better not to use it.  (I've never had success with using the auto header thing.... Go look in &lt;CODE&gt;etc/apps/learning/local/transforms.conf&lt;/CODE&gt; to see what "AutoHeader-2" is setup to do)  When you move to a more production-level situation, make sure you are actually assigning a souretype name (other than &lt;CODE&gt;csv-3&lt;/CODE&gt;), this is especially important for delimited files, because you can only have one field-extraction setup per sourcetype.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 20:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16496#M2224</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-01T20:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: simple field extraction not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16497#M2225</link>
      <description>&lt;P&gt;Also, make sure that you end up seeing &lt;CODE&gt;REPORT-&amp;lt;class&amp;gt; = test&lt;/CODE&gt; or you transformer will not be used.  (Right now it's missing)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 20:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simple-field-extraction-not-working/m-p/16497#M2225</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-01T20:59:49Z</dc:date>
    </item>
  </channel>
</rss>

