<?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: Search character * in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549429#M155895</link>
    <description>&lt;P&gt;Thanks for your help but I figured it out. The search:&lt;/P&gt;&lt;P&gt;index = "myIndex" | regex myfield != "^(35).+"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gives me what i want&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 09:18:50 GMT</pubDate>
    <dc:creator>gerbert</dc:creator>
    <dc:date>2021-04-27T09:18:50Z</dc:date>
    <item>
      <title>Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549420#M155890</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to make the following search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = "myIndex" myfield != "35*"&lt;/LI-CODE&gt;&lt;P&gt;Is there a way to excluse all values of myfield that start with "35" except "35" itself. so for example i want to exclude:&lt;/P&gt;&lt;P&gt;myfield values:&lt;/P&gt;&lt;P&gt;35457, 35568, 351 but not 35 itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that in regex you can use "+" to indicate the use of "one or more" matches but I don't know how to use it in a splunk search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Fritz&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549420#M155890</guid>
      <dc:creator>gerbert</dc:creator>
      <dc:date>2021-04-27T08:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549423#M155891</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232323"&gt;@gerbert&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;di you tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = "myIndex" myfield="35"&lt;/LI-CODE&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549423#M155891</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-27T08:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549426#M155892</link>
      <description>&lt;P&gt;I need the "!=" in my search because I want to explicitly exclude some values from my search. So replacing "!=" with "=" doesn't help me.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549426#M155892</guid>
      <dc:creator>gerbert</dc:creator>
      <dc:date>2021-04-27T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549427#M155893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232323"&gt;@gerbert&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand your search need:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you want to exclude all the values where there 35 but also other,&lt;/LI&gt;&lt;LI&gt;you want to take only the exact value "35"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if you want to take only the exact value "35", = is the solution, what are the other need of your search so the = isn't the solution?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549427#M155893</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-27T08:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549428#M155894</link>
      <description>&lt;P&gt;I do not want the value "35" to be excluded, which would be the case with the search myfield!="35*".&lt;/P&gt;&lt;P&gt;Saying i don't want the "35" excluded is different from saying I want the "35" value.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:03:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549428#M155894</guid>
      <dc:creator>gerbert</dc:creator>
      <dc:date>2021-04-27T09:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549429#M155895</link>
      <description>&lt;P&gt;Thanks for your help but I figured it out. The search:&lt;/P&gt;&lt;P&gt;index = "myIndex" | regex myfield != "^(35).+"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gives me what i want&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:18:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549429#M155895</guid>
      <dc:creator>gerbert</dc:creator>
      <dc:date>2021-04-27T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search character *</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549431#M155896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232323"&gt;@gerbert&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Ok understood!&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index = "myIndex" (myfield!="35" OR myfield="35")&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-character/m-p/549431#M155896</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-27T09:17:07Z</dc:date>
    </item>
  </channel>
</rss>

