<?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: Not Like function !Like in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471995#M192280</link>
    <description>&lt;P&gt;Hi @navdeep1568&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval server="Flra2209php_ua,Flra2209" 
| makemv delim="," server 
| mvexpand server 
| where NOT match(server,"\w+\d{4}\S+")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Feb 2020 03:20:20 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2020-02-14T03:20:20Z</dc:date>
    <item>
      <title>Not Like function !Like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471993#M192278</link>
      <description>&lt;P&gt;I am trying to search for a server which is named differently than all the others in our network. Commonly servers are named with Location followed by 4 digits and then some string in the end (Eg: Flra2209php_ua).&lt;/P&gt;

&lt;P&gt;If one of the machines is not following this naming convention, how do I search for it? I was hoping there would be a "not like" function which might help with this?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 21:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471993#M192278</guid>
      <dc:creator>navdeep1568</dc:creator>
      <dc:date>2020-02-13T21:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not Like function !Like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471994#M192279</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;regex&lt;/CODE&gt;.  Use &lt;CODE&gt;| regex Name!="\w{4]\d{4}.*"&lt;/CODE&gt; to exclude events where the "Name" field doesn't contain four alphanumerics, then four digits, and then any text.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 01:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471994#M192279</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-02-14T01:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not Like function !Like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471995#M192280</link>
      <description>&lt;P&gt;Hi @navdeep1568&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval server="Flra2209php_ua,Flra2209" 
| makemv delim="," server 
| mvexpand server 
| where NOT match(server,"\w+\d{4}\S+")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Like-function-Like/m-p/471995#M192280</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-02-14T03:20:20Z</dc:date>
    </item>
  </channel>
</rss>

