<?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: Why is index-time field extraction not searchable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15401#M1894</link>
    <description>&lt;P&gt;I'm experiencing exactly the same problem (with a similar setup for extracting an indexed field and then removing that text from _raw after indexing; and yes, I have INDEXED_VALUE=false). I am running 4.1.3.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Double quotes in the transform (eg, FORMAT=fieldname::"$1") preserves extracted field values having a space, and I can see the correct values listed in the metadata under the event. But filtering on any of these values (eg, by clicking the value in the event's metadata, or choosing it from the field list on the left, both of which add fieldname="value" to the search) fails. It fails whether or not there's a space in the value.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Removing the quotes from the transform (eg, FORMAT=fieldname::$1) makes the searching/filtering work as expected. But extracted field values that should include a space are instead truncated at the space.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What I've noticed that goes beyond the discussion above is that in situation 1., if you include a * in the filtering term, eg, fieldname="value*", the search will succeed. I've not found a literal character I can put in that final position other than the * and have the search succeed.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;And because it's customary at this point to be asked why one is indexing and modifying _raw:
I'm wanting to associate additional metadata with logfile lines and other event text I'm streaming via TCP from a large number of sources (I want to record serial#, model#, and software version). If the ***SPLUNK*** header trick would work for custom indexed fields instead of only source, sourcetype, and host, I would put these values there and we'd be done. Instead, I append the metadata to each logline like this: ***META*** serial=ABCDE model=FGH version="1.1e" 
and I have a transform that removes ***META*** and everything after it after the indexing transform has been invoked. It would be wrong to leave the original line all mangled, so search time extraction is no good here. &lt;/P&gt;

&lt;P&gt;I saw mention elsewhere that the ***SPLUNK*** header feature had fallen out of favor and wasn't being tended to.  It would be great if this limitation could be addressed, especially since the metadata would only need to appear once at the top of a logfile stream rather than being bolted onto each line.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2010 19:37:43 GMT</pubDate>
    <dc:creator>welchatquietple</dc:creator>
    <dc:date>2010-12-14T19:37:43Z</dc:date>
    <item>
      <title>Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15378#M1871</link>
      <description>&lt;P&gt;I'm double posting, original issue posted here: &lt;A href="http://www.splunk.com/support/forum:SplunkGeneral/4378" rel="nofollow"&gt;http://www.splunk.com/support/forum:SplunkGeneral/4378&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;When I use double-quotes in my index-time field extractions, the meta-data is not searchable. I've seen this problem on 4.0.11 and 4.1.3.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Sample text:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;results=AA,BB,CC CC,DD
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Transforms.conf without double-quotes:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = ^results=(.*?),(.*?),(.*?),(.+)$
FORMAT = key1::$1 key2::$2 key3::$3 key4::$4
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Transform.conf with double-quotes:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = ^results=(.*?),(.*?),(.*?),(.+)$
FORMAT = key1::"$1" key2::"$2" key3::"$3" key4::"$4"
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you use the first transforms.conf without the double-quotes, there are two problems:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The value for key3 (with a space) is
not captured correctly. This is in
the documentation which says to use
double-quotes.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The fields extracted on 4.1.3 are
incorrect for key4. Instead of having
a field "key4" it has "CC key4". I
don't recall seeing this behavior in
4.0.x.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;However, if you use the second transforms.conf with the double-quotes:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;The meta-data is not searchable&lt;/STRONG&gt;, i.e.
search for "key1=AA" fails.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;UPDATE 6/15/2010&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Here are my conf files so you can replicate this issue.  I also have a screenshot below.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/test]
disabled = 0
sourcetype = mytest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mytest]
TRANSFORMS-test = extract-fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;fields.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[key1]
INDEXED = true

[key2]
INDEXED = true

[key3]
INDEXED = true

[key4]
INDEXED = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[extract-fields]
REGEX = ^results=(.*?),(.*?),(.*?),(.+)$
FORMAT = key1::"$1" key2::"$2" key3::"$3" key4::"$4"
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;screenshot:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;In this screenshot, notice that the values are indeed extracted and show up in the search result.  However, searching for "key1=AA" (or any other key=value) returns no results.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dottom.com/public/images/screenshot_8jd49x4d.png" rel="nofollow"&gt;http://dottom.com/public/images/screenshot_8jd49x4d.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2010 02:13:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15378#M1871</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-13T02:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15379#M1872</link>
      <description>&lt;P&gt;Curious - do you have these keys defined in fields.conf? You shouldn't &lt;EM&gt;need&lt;/EM&gt; the quotes in transforms.conf, I'm unsure what that is supposed to achieve, but I assume it works for you in earlier versions?&lt;/P&gt;

&lt;P&gt;What does your props.conf look like?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2010 20:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15379#M1872</guid>
      <dc:creator>parallaxed</dc:creator>
      <dc:date>2010-06-14T20:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15380#M1873</link>
      <description>&lt;P&gt;Is your literal search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"key1=AA"  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or, do you mean:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;key1=AA
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Because the first should fail because such a term (&lt;CODE&gt;key1&lt;/CODE&gt;) does not exist within your actual raw event (based on your provided sample event).   However, the second should work if &lt;CODE&gt;key1&lt;/CODE&gt; is setup as an &lt;CODE&gt;INDEXED_FIELD&lt;/CODE&gt; in &lt;CODE&gt;fields.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;You could try searching for your indexed field explicitly, like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; key1::AA
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;::&lt;/CODE&gt; will force 'key1' to be looked up via your indexed field and not using an extracted (search-time) field.&lt;/P&gt;

&lt;P&gt;BTW.  One useful tool I've found for tracking down index field issues is using the &lt;CODE&gt;walklex&lt;/CODE&gt; command line tool.  You have to drill down into your index's hot bucket and point to one of your &lt;CODE&gt;.tsidx&lt;/CODE&gt; files.  (There's some guess work / trail-n-error involved with finding the right file.)  You can search a single &lt;CODE&gt;.tsidx&lt;/CODE&gt; file for an indexed term (or an indexed field).  Here is an example from my system looking for the &lt;CODE&gt;date_hour&lt;/CODE&gt; indexed field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;walklex 1268486967-1266586961-302021.tsidx 'date_hour::*'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You may be able to use this approach to see if there is an index-level different between how these your indexed fields were stored in your index with previous versions versus now.  If this turns out to be some kind of bug in splunk, then this information could be quite valuable.&lt;/P&gt;

&lt;P&gt;Another approach to debug indexed fields is to export some data from one of your buckets to a &lt;CODE&gt;csv&lt;/CODE&gt; file using &lt;CODE&gt;exporttool&lt;/CODE&gt; like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;exporttool /path/to/your/bucket /tmp/exportfile.csv -csv meta::all
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can then open up the exported file and review the "_meta" column and see how splunk is storing your indexed fields.  Again, you can use this to compare before/after your most recent upgrade. (You can use a better search to export just the relevant events by simply replacing "meta::all" with a sourcetype search, for example.)&lt;/P&gt;

&lt;P&gt;Out of curiosity, what's the reason why you are using indexed fields instead of extracted fields?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 00:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15380#M1873</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-15T00:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15381#M1874</link>
      <description>&lt;P&gt;Yes, all the fields are defined in fields.conf  &lt;/P&gt;

&lt;P&gt;You need the double-quotes in transforms.conf when the regular expression backreference captures a value with a space in it.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 13:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15381#M1874</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-15T13:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15382#M1875</link>
      <description>&lt;P&gt;That doesn't work either.  Any combination of the following queries all fail when using double-quotes in transforms.conf to define the value of the index-time extraction:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;key1=AA
key1="AA"
key1::AA
key1::"AA"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The values are clearly extracted as you can see the meta-data defined in the fields that show right below the text message.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 13:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15382#M1875</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-15T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15383#M1876</link>
      <description>&lt;P&gt;As with a lot of Splunk quirks, I don't see this documented (&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Transformsconf"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Transformsconf&lt;/A&gt;), so I'm not certain you need those quotes, or that it's even valid syntax in the latest version. Space-escaping is mentioned in that document, but only in relations to FIELDS= capturing, which is used alongside auto-kv/delims extraction (which is not what you're doing).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15383#M1876</guid>
      <dc:creator>parallaxed</dc:creator>
      <dc:date>2010-06-15T16:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15384#M1877</link>
      <description>&lt;P&gt;I should add that you're getting no results for the second conf, which kind of backs that up. The first transforms.conf is valid. If you think there's nothing wrong with your regex, try splitting the capture in to 2 separate transforms and see if you can get it to work that way?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:43:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15384#M1877</guid>
      <dc:creator>parallaxed</dc:creator>
      <dc:date>2010-06-15T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15385#M1878</link>
      <description>&lt;P&gt;Please edit your question and include the corresponding &lt;CODE&gt;props.conf&lt;/CODE&gt; entries.  I'm wondering if you are really dealing with indexed fields or if you have search-time extracted fields (sometime people don't understand the difference, and posting your &lt;CODE&gt;props.conf&lt;/CODE&gt; will clear this up.)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 20:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15385#M1878</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-15T20:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15386#M1879</link>
      <description>&lt;P&gt;I agree that the docs can be sparse at times, but this one is documented.  See &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configureindex-timefieldextraction"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configureindex-timefieldextraction&lt;/A&gt;.  So, yes you &lt;EM&gt;should&lt;/EM&gt; be using quotes here.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 20:33:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15386#M1879</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-15T20:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15387#M1880</link>
      <description>&lt;P&gt;I do get search results if I do &lt;EM&gt;not&lt;/EM&gt; put the backreferenced values in quotes.  The problem I have is I want to use quotes because that's the correct way to capture the values (with spaces in them), but then I have the other problem I listed in the original post in that those fields extracted at index-time are not searchable.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 03:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15387#M1880</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-16T03:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15388#M1881</link>
      <description>&lt;P&gt;Question edited.  I couldn't add the image tag directly but have link to the screenshot.&lt;/P&gt;

&lt;P&gt;As for search-time field extractions, by definition, I think if you search time extracted the field you would always be able to search for it.  The bug here I believe is with index-time extraction only where the values are written and shows up in search results (and on left hand side blue fields panel), they just aren't searchable.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 04:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15388#M1881</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-16T04:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15389#M1882</link>
      <description>&lt;P&gt;To answer your other question "why are you using indexed fields instead of extracted fields".  I need to inject values to the original syslog message and have those meta-values searchable via key/value pairs.  When a user runs a query, the user needs to see only the original syslog message, not the meta-data I've injected.  For example, I want a user to be able to run a query "event=logon result=failure user=lowell" and it will pull up all failed logons across 100 different platforms. Note this works fine if I don't use quotes in transforms.conf, but only for values that don't have spaces.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 04:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15389#M1882</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-16T04:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15390#M1883</link>
      <description>&lt;P&gt;So, it's still not clear to me: You are modifying the _raw text that is indexed &lt;EM&gt;after&lt;/EM&gt; you do the index-time field transforms, i.e., doing a transform on _raw &lt;EM&gt;after&lt;/EM&gt; creating key1, key2, key3, etc? Is that right? If so, then you need to set &lt;CODE&gt;INDEXED_VALUE = false&lt;/CODE&gt; for all your fields. Since the values of key1, key2, etc are no longer in the _raw text, and &lt;CODE&gt;INDEXED_VALUE=true&lt;/CODE&gt; (the default) requires any field value to be in the raw, your searches will never return results. (Except maybe by luck.)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15390#M1883</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2020-09-28T09:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15391#M1884</link>
      <description>&lt;P&gt;Please see my comment below. You need to set &lt;CODE&gt;INDEXED_VALUE = false&lt;/CODE&gt; in fields.conf. This is so because you are apparently modifying the _raw field value. This wasn't mentioned above, but if I am understanding your comment below, that seems to be what is going on here.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 05:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15391#M1884</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-16T05:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15392#M1885</link>
      <description>&lt;P&gt;Changing fields.conf to indexed = false fixes it for the second example which solves my problem.  In my particular case, since I use a transform to perform data masking, I am not sure if the actual key=value pairs are written to the index or not.  I will run an export to verify.  The behavior of the first example in my original post is interesting though, because in theory it should not work if indexed=true for fields.conf?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 05:51:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15392#M1885</guid>
      <dc:creator>dottom</dc:creator>
      <dc:date>2010-06-16T05:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15393#M1886</link>
      <description>&lt;P&gt;If you transform your raw data at index time to remove the field values, then no, they will never make it to the index. All transforms change the data before it is indexed.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 06:19:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15393#M1886</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-16T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15394#M1887</link>
      <description>&lt;P&gt;Summary answer:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;You do need double quotes around field values if the value might contain spaces.&lt;/LI&gt;
&lt;LI&gt;You need to set &lt;CODE&gt;INDEXED_VALUE = false&lt;/CODE&gt; for your indexed fields if the value is &lt;EM&gt;not&lt;/EM&gt; in the raw event text. According to the config posted, it appeared as if the indexed values &lt;EM&gt;would&lt;/EM&gt; appear in the raw text, since that is where they were being extracted from in the first place. However, a comment indicated that the raw text was subsequently being transformed to &lt;EM&gt;remove&lt;/EM&gt; those field values. (This is why the fields needed to be indexed in the first place. If they had remained in the raw text, it would probably have been better to use search-time extractions instead.)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Update:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;It's because if &lt;CODE&gt;INDEXED_VALUE = true&lt;/CODE&gt; (the default), then a search for &lt;CODE&gt;key1="val1"&lt;/CODE&gt; or &lt;CODE&gt;key::val1&lt;/CODE&gt; is treated as a search for &lt;CODE&gt;"val1" AND key1="val1")&lt;/CODE&gt;, i.e., the token &lt;CODE&gt;val1&lt;/CODE&gt; must occur in the raw text, &lt;EM&gt;and&lt;/EM&gt; the field &lt;CODE&gt;key1&lt;/CODE&gt; must have the value &lt;CODE&gt;val1&lt;/CODE&gt;. This is usually true for search-time fields.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 16 Jun 2010 06:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15394#M1887</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-16T06:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15395#M1888</link>
      <description>&lt;P&gt;Thanks, Lowell. Since it is valid, can this::"$1" syntax (with quotes) appear in the spec for transforms.conf? It'd be good to make it clear in both places on the docs...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15395#M1888</guid>
      <dc:creator>parallaxed</dc:creator>
      <dc:date>2010-06-16T17:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15396#M1889</link>
      <description>&lt;P&gt;By looking at the  screenshot it appears that the raw event is &lt;EM&gt;not&lt;/EM&gt; being modified.  Dotom, can you clear this up?  Are you modifying the raw event after the transform that indexes your fields?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 22:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15396#M1889</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-16T22:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is index-time field extraction not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15397#M1890</link>
      <description>&lt;P&gt;Gerald, can you confirm that "::" and "=" behave the same way in 4.[01]?  My understanding is that &lt;CODE&gt;::&lt;/CODE&gt; only operates on indexed fields in 4.x (which is different than it used to be.)  For a simple test I tried the search "sourcetype=syslog pid=7482" vs "sourcetype=syslog pid::7482"  The first search returned results whereas the 2nd does not.  (Because &lt;CODE&gt;pid&lt;/CODE&gt; is an extracted field and not an indexed field.)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 22:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-index-time-field-extraction-not-searchable/m-p/15397#M1890</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-06-16T22:58:08Z</dc:date>
    </item>
  </channel>
</rss>

