<?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: How to exclusively search for lower-case characters in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461451#M130147</link>
    <description>&lt;P&gt;Totally.&lt;/P&gt;

&lt;P&gt;But if he has a million users then he's not going to CASE CASE CASE, he's better off just extracting the lowercase stuff in a field and using that or using a regex as a filter&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 11:42:03 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-12-13T11:42:03Z</dc:date>
    <item>
      <title>How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461444#M130140</link>
      <description>&lt;P&gt;My query is for searching users...i.e david OR tom OR cindy...&lt;/P&gt;

&lt;P&gt;The results are:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;David&lt;BR /&gt;
david&lt;BR /&gt;
Tom&lt;BR /&gt;
tom&lt;BR /&gt;
Cindy&lt;BR /&gt;
cindy&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;What do I have to change in my search to get just the small names...because the others are wrong usernames,&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 22:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461444#M130140</guid>
      <dc:creator>david1395</dc:creator>
      <dc:date>2019-12-12T22:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461445#M130141</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults count=2
| streamstats count
| eval names=case(count=1, "David", count=2, "david")
| where like(names,"%david%")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Using the where command with a regex match is one option, alternatively you can just lower all the names previously in your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=2
| streamstats count
| eval names=case(count=1, "David", count=2, "david")
| eval names=lower(names) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 22:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461445#M130141</guid>
      <dc:creator>aberkow</dc:creator>
      <dc:date>2019-12-12T22:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461446#M130142</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Check this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval name="David,david,Tom,tom,Cindy,cindy" 
| makemv delim="," name 
| mvexpand name 
| regex name="^[a-z]+$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Dec 2019 06:37:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461446#M130142</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-12-13T06:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461447#M130143</link>
      <description>&lt;P&gt;Hi @david1395,&lt;/P&gt;

&lt;P&gt;You should change the way that field is extracted to avoid having to filter out to names in capital. &lt;/P&gt;

&lt;P&gt;Look at the extraction of the field and instead of match any character in the name use something like &lt;CODE&gt;([a-z])+&lt;/CODE&gt; to match lowercase letter only. After that your field will only contain all the valid lowercase letters.&lt;/P&gt;

&lt;P&gt;Let me know how that works out for you.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
another David&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 09:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461447#M130143</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-12-13T09:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461448#M130144</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="YouShouldALwaysSpecifyAnIndexEvenIfJust*" AND sourcetype="AndSourcetypeToo" AND (CASE(david) OR CASE(tom) OR CASE(cindy)) ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Dec 2019 10:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461448#M130144</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-13T10:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461449#M130145</link>
      <description>&lt;P&gt;using CASE() is the most efficient way as it filters at _raw event itself&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 10:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461449#M130145</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-12-13T10:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461450#M130146</link>
      <description>&lt;P&gt;Definitely.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461450#M130146</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-13T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461451#M130147</link>
      <description>&lt;P&gt;Totally.&lt;/P&gt;

&lt;P&gt;But if he has a million users then he's not going to CASE CASE CASE, he's better off just extracting the lowercase stuff in a field and using that or using a regex as a filter&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:42:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461451#M130147</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-12-13T11:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461452#M130148</link>
      <description>&lt;P&gt;It  might be in a lookup and then he can use a subsearch with &lt;CODE&gt;format&lt;/CODE&gt; to insert &lt;CODE&gt;CASE(&lt;/CODE&gt; and &lt;CODE&gt;)&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461452#M130148</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-12-13T11:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461453#M130149</link>
      <description>&lt;P&gt;True true.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461453#M130149</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-12-13T11:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclusively search for lower-case characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461454#M130150</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=your_index  your_field IN (CASE("david"), CASE("tom"), CASE("cindy"))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are many.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-exclusively-search-for-lower-case-characters/m-p/461454#M130150</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-12-13T11:48:12Z</dc:date>
    </item>
  </channel>
</rss>

