<?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: Help with search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523286#M147591</link>
    <description>&lt;P&gt;There are a couple of alternatives, but neither is much better than what you have now.&lt;/P&gt;&lt;P&gt;Use IN&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=vor* NOT (host="vor-pxy-prd1*" instance IN ("G:", "H:", "I:", "J:", "K:", "L:")&lt;/LI-CODE&gt;&lt;P&gt;Or use regex to filter using a regular expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=vor* NOT (host="vor-pxy-prd1*")
| regex instance="^[GHIJKL]:"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 06 Oct 2020 19:59:46 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-10-06T19:59:46Z</dc:date>
    <item>
      <title>Help with search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523267#M147587</link>
      <description>&lt;P&gt;Hi, I am using Splunk to grab disk drive metrics but often times I am pulling metrics for drives I don't care about. I want to exclude these from some searches, I am able to do this with a series of NOT/OR commands, as shown below,&amp;nbsp; but I feel like there is an easier way with less syntax.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I exclude instances G thru L ,&amp;nbsp; in one command, without having to specify each instance as I do below?&lt;/P&gt;&lt;P&gt;host=vor* NOT (host="vor-pxy-prd1*" instance=G: OR instance=H: OR instance=I: OR instance=J: OR instance=K: OR instance=L:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas -&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 19:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523267#M147587</guid>
      <dc:creator>unifirst101</dc:creator>
      <dc:date>2020-10-06T19:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523286#M147591</link>
      <description>&lt;P&gt;There are a couple of alternatives, but neither is much better than what you have now.&lt;/P&gt;&lt;P&gt;Use IN&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=vor* NOT (host="vor-pxy-prd1*" instance IN ("G:", "H:", "I:", "J:", "K:", "L:")&lt;/LI-CODE&gt;&lt;P&gt;Or use regex to filter using a regular expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;host=vor* NOT (host="vor-pxy-prd1*")
| regex instance="^[GHIJKL]:"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Oct 2020 19:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523286#M147591</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-06T19:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523406#M147611</link>
      <description>&lt;P&gt;These are both great ideas and look cleaner than what I have been using - thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523406#M147611</guid>
      <dc:creator>unifirst101</dc:creator>
      <dc:date>2020-10-07T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523471#M147620</link>
      <description>&lt;P&gt;The first one worked great.&amp;nbsp; I'm not able to get any results from the 2nd one even the drives I want do not show up, not sure why but I am not overly familiar with the regex side in Splunk.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 16:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-search/m-p/523471#M147620</guid>
      <dc:creator>unifirst101</dc:creator>
      <dc:date>2020-10-07T16:00:32Z</dc:date>
    </item>
  </channel>
</rss>

