<?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: case_sensitive_match = false does not appear to work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270705#M81485</link>
    <description>&lt;P&gt;Do not use the &lt;CODE&gt;[default]&lt;/CODE&gt; header stanza.  Instead use your lookup name as the stanza header instead.  I have done this dozens of times and never had a problem.  I have never tried this setting in the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Mar 2017 05:23:45 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-03-04T05:23:45Z</dc:date>
    <item>
      <title>case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270691#M81471</link>
      <description>&lt;P&gt;I have at least one lookup table where a field may be upper, lower or mixed case but the search value, pulled from log data  to do the lookup, may not match the case. For example the log record may have:&lt;/P&gt;

&lt;P&gt;cs_username = jk_midstate01&lt;/P&gt;

&lt;P&gt;While the lookup table may have that field as:&lt;/P&gt;

&lt;P&gt;cs_username = jk_MidState01&lt;/P&gt;

&lt;P&gt;And it cannot be changed because the field is referenced in multiple places by different searches. It is not possible to change the case of either field. I put the following in etc\system\local\transforms.conf and restarted Splunk. At the same time I ensured there was no other place where the specific lookup table was referenced with the case_sensitive_match line.&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
case_sensitive_match = false&lt;/P&gt;

&lt;P&gt;The searches I write to test the case insensitivity always fail, indicating to me that the transforms.conf entry is not valid. Of course the Splunk documentation is rife with meaty examples of using case_sensitive_match.&lt;/P&gt;

&lt;P&gt;Any advice?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Note: My PC browser does not show all comments and does not give edit capability so I have to use my phone. Forgive my fat fingers.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270691#M81471</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2020-09-29T12:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270692#M81472</link>
      <description>&lt;P&gt;Hi kmattern,&lt;BR /&gt;
I found this problem in host detection and I solved it transforming always in uppercase (or lowercase)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval host=upper(host)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 14:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270692#M81472</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-31T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270693#M81473</link>
      <description>&lt;P&gt;Is there typo in either values? In the log record value is&lt;CODE&gt;jk_midstate01&lt;/CODE&gt; and in lookup you mentioned &lt;CODE&gt;jk_Mid_State01&lt;/CODE&gt; which is different value altogether due to additional underscore. &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 14:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270693#M81473</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-31T14:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270694#M81474</link>
      <description>&lt;P&gt;That's a typo. It should be 01 in each instance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270694#M81474</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2017-01-31T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270695#M81475</link>
      <description>&lt;P&gt;I cannot force the case because I have no idea what the case actually is in the lookup. &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270695#M81475</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2017-01-31T15:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270696#M81476</link>
      <description>&lt;P&gt;if you have to search, you can transforms in uppercase both your search results and lookup&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search
| eval cs_username=upper(cs_username)
| search [| inputlookup your_lookup.csv 
   | eval cs_username=upper(cs_username)
   | fields cs_username
   ]
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270696#M81476</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-31T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270697#M81477</link>
      <description>&lt;P&gt;Only one underscore right? Also, does the lookup being used to enrich the data (add additional fields from lookoup) or for filter?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270697#M81477</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-31T15:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270698#M81478</link>
      <description>&lt;P&gt;I would still like an answer to my original question, how do I get transforms.conf to work?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270698#M81478</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2017-01-31T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270699#M81479</link>
      <description>&lt;P&gt;I haven't tried a sub search. If I absolutely have to I will but I'd still like to get case_sensitive_match=false to work.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270699#M81479</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2020-09-29T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270700#M81480</link>
      <description>&lt;P&gt;Can you update your question to fix the typo? The location of the transforms.conf you update in the question is etc\system\trsansforms.conf, shouldn't that be etc/system/local/transforms.conf ? Also, why update the default stanza, why not for specific lookup definition (assuming you've already setup a lookup definition for your lookup table. These additional setting works only on lookup definitions)? &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270700#M81480</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-31T15:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270701#M81481</link>
      <description>&lt;P&gt;It should be jk_midstate01 and jk_MidState01 in the example above. I was trying to attend a boring phone con while writing the question. sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270701#M81481</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2020-09-29T12:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270702#M81482</link>
      <description>&lt;P&gt;Ok.. I've made the changes to question to reflect that. Are you using lookup definition for your CSV lookup table file? Can you try adding &lt;CODE&gt;case_sensitive_match = false&lt;/CODE&gt; under the transforms.conf entry for that lookup definition?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:05:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270702#M81482</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-31T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270703#M81483</link>
      <description>&lt;P&gt;It is updated.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270703#M81483</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2017-01-31T16:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270704#M81484</link>
      <description>&lt;P&gt;That's where I had it originally, no joy.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270704#M81484</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2017-01-31T16:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: case_sensitive_match = false does not appear to work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270705#M81485</link>
      <description>&lt;P&gt;Do not use the &lt;CODE&gt;[default]&lt;/CODE&gt; header stanza.  Instead use your lookup name as the stanza header instead.  I have done this dozens of times and never had a problem.  I have never tried this setting in the &lt;CODE&gt;[default]&lt;/CODE&gt; stanza.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 05:23:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/case-sensitive-match-false-does-not-appear-to-work/m-p/270705#M81485</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-04T05:23:45Z</dc:date>
    </item>
  </channel>
</rss>

