<?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: have to add wildcard to end of field value to search.. strange... in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100188#M25913</link>
    <description>&lt;P&gt;that's interesting, so I tried indexed_value=false, didn't fix it. The fields.conf spec indicates this is only applicable for an index=false, which this field is indexed=true.&lt;/P&gt;

&lt;P&gt;here's the deal, I have a transform (in transforms.conf of this app).&lt;BR /&gt;
[framework-parts]&lt;BR /&gt;
FORMAT = $0 loglevel::"$1" threadname::"$2" logger::"$3" user::"$4" rmrealm::"$5" processid::"$6" messageid::"$7"&lt;BR /&gt;
REGEX = ([A-Z]+)\s+[(.&lt;EM&gt;?)]\s+(.&lt;/EM&gt;?)\s+((.&lt;EM&gt;?@(.&lt;/EM&gt;?)|.&lt;EM&gt;?))\s+((.&lt;/EM&gt;?))\s+((.*?))&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2012 19:45:15 GMT</pubDate>
    <dc:creator>mmattek</dc:creator>
    <dc:date>2012-07-16T19:45:15Z</dc:date>
    <item>
      <title>have to add wildcard to end of field value to search.. strange...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100186#M25911</link>
      <description>&lt;P&gt;I have a field defined in a transform. The field appears to work fine in a chart, whatever, but to put it in a field i have to put fieldfoo="value*" , even though the value has no characters (not even a space, I checked, after the "e" in this case.&lt;/P&gt;

&lt;P&gt;To make it even weirder, there is an alias to this field (for backward compatibliity for some old searches, and that one works fine....&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 17:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100186#M25911</guid>
      <dc:creator>mmattek</dc:creator>
      <dc:date>2012-07-16T17:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: have to add wildcard to end of field value to search.. strange...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100187#M25912</link>
      <description>&lt;P&gt;Might this field contain a value that isn't part of indexed data, or only part of a token in indexed data? For instance, in the first case, the field could have been extracted in something like this manner:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[myfieldextraction]
REGEX = (matchsomething)
FORMAT = myfield::someothertext
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...so the field would have the value "someothertext" even though that value doesn't actually exist at all in the index.&lt;/P&gt;

&lt;P&gt;Or, in the second case, the extraction would look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[myotherfieldextraction]
REGEX = (matchjust)apartofaword
FORMAT = myotherfield::$1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If any of these apply to your extraction, you are very likely seeing the effects of what is described in detail in this excellent blog post: &lt;A href="http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/"&gt;http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 18:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100187#M25912</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-07-16T18:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: have to add wildcard to end of field value to search.. strange...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100188#M25913</link>
      <description>&lt;P&gt;that's interesting, so I tried indexed_value=false, didn't fix it. The fields.conf spec indicates this is only applicable for an index=false, which this field is indexed=true.&lt;/P&gt;

&lt;P&gt;here's the deal, I have a transform (in transforms.conf of this app).&lt;BR /&gt;
[framework-parts]&lt;BR /&gt;
FORMAT = $0 loglevel::"$1" threadname::"$2" logger::"$3" user::"$4" rmrealm::"$5" processid::"$6" messageid::"$7"&lt;BR /&gt;
REGEX = ([A-Z]+)\s+[(.&lt;EM&gt;?)]\s+(.&lt;/EM&gt;?)\s+((.&lt;EM&gt;?@(.&lt;/EM&gt;?)|.&lt;EM&gt;?))\s+((.&lt;/EM&gt;?))\s+((.*?))&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 19:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100188#M25913</guid>
      <dc:creator>mmattek</dc:creator>
      <dc:date>2012-07-16T19:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: have to add wildcard to end of field value to search.. strange...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100189#M25914</link>
      <description>&lt;P&gt;put this in two comments for length &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;then I have this in props.conf:&lt;/P&gt;

&lt;P&gt;REPORT-frameworkparts = framework-parts,framework-threadname-parts,rmdirect-structuredlog,rmdirect-structuredlog-props,rm-framework-event-type&lt;/P&gt;

&lt;P&gt;[threadname]&lt;BR /&gt;
INDEXED=true&lt;BR /&gt;
INDEXED_VALUE=false&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 19:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100189#M25914</guid>
      <dc:creator>mmattek</dc:creator>
      <dc:date>2012-07-16T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: have to add wildcard to end of field value to search.. strange...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100190#M25915</link>
      <description>&lt;P&gt;You shouldn't set INDEXED=true because it's not an indexed field. I know the docs (and the blog post I linked to) say that Splunk should be able to handle this situation by itself now, so you won't have to set indexed_value yourself, however that simply doesn't seem to be true. Try just setting INDEXED_VALUE to false without setting INDEXED=true.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:05:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/have-to-add-wildcard-to-end-of-field-value-to-search-strange/m-p/100190#M25915</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2020-09-28T12:05:59Z</dc:date>
    </item>
  </channel>
</rss>

