<?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: Does IN support wildcards? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419538#M120627</link>
    <description>&lt;P&gt;@danielbb yes it should so if it is not working then please add more details as to what you are trying to do and what is your current data/SPL (mock/anonymize any sensitive information before posting on Splunk Answers).&lt;/P&gt;

&lt;P&gt;Meanwhile based on the code/data snippet provided in the question, try the following run anywhere example search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| fields - _time 
| eval hostname="test1.domain1.com,test2.domain1.com,test3.domain2.com,test4.domain3.com" 
| makemv hostname delim="," 
| mvexpand hostname 
| search NOT hostname IN ("*.domain1.com", "*.domain2.com")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jul 2019 17:12:55 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2019-07-31T17:12:55Z</dc:date>
    <item>
      <title>Does IN support wildcards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419537#M120626</link>
      <description>&lt;P&gt;The following doesn't seem to work -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NOT hostname IN ("*.&amp;lt;domain1&amp;gt;.com", "*.&amp;lt;domain2&amp;gt;.com")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does IN support wildcards?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:42:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419537#M120626</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2019-07-31T16:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Does IN support wildcards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419538#M120627</link>
      <description>&lt;P&gt;@danielbb yes it should so if it is not working then please add more details as to what you are trying to do and what is your current data/SPL (mock/anonymize any sensitive information before posting on Splunk Answers).&lt;/P&gt;

&lt;P&gt;Meanwhile based on the code/data snippet provided in the question, try the following run anywhere example search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| fields - _time 
| eval hostname="test1.domain1.com,test2.domain1.com,test3.domain2.com,test4.domain3.com" 
| makemv hostname delim="," 
| mvexpand hostname 
| search NOT hostname IN ("*.domain1.com", "*.domain2.com")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 17:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419538#M120627</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-07-31T17:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Does IN support wildcards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419539#M120628</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 19:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-IN-support-wildcards/m-p/419539#M120628</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2019-07-31T19:04:43Z</dc:date>
    </item>
  </channel>
</rss>

