<?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 How to search syntax to exclude dhost or URL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-syntax-to-exclude-dhost-or-URL/m-p/493929#M137712</link>
    <description>&lt;P&gt;New to Splunk here. Trying to run a search for user BLAHBLAH that does NOT contain dhost of api.drift.com&lt;BR /&gt;
Would someone help me with the search?  index=* &lt;/P&gt;

&lt;P&gt;My search below but does not seem to be working:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* "BLAHBLAH" sourcetype=* dhost!="api.drift"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Raw syslog below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Nov 26 16:40:26 QHLSTLS11 mwg: status="426/0" srcip="10.99.99.50" user="BLAHLBAH" dhost="presence.api.drift.com" urlp="443" proto="HTTPS/https" mtd="GET" urlc="Business" rep="0" mt="application/x-empty" mlwr="-" app="-" bytes="782/780/201/196" ua="Chrome77-10.0" lat="0/0/71/97" rule="Last Rule" url="https://presence.api.drift.com/ws/websocket?session_token=SFMyNTY.43QAAAACZAAEZGF0YXQAAAAFZAACaWRtAAAAEzEwMzg5Ny00MTE0MTAzMjM0LTRkAAZvcmdfaWRiAAGV2WQACXNjb3BlX3NldGwAAAABbQAAAARsZWFkamQbB3VzZXJfaWRuBADCOzj1ZAAJdXNlcl90eXBlZAAEbGVhZGQABnNpZ25lZG4GAE8ol55uAQ.7-xbZbLOyHODYgRuuNSrIkIupxR3MnYkslNfjSaDMZU&amp;amp;vsn=1.0.0"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Nov 2019 00:46:54 GMT</pubDate>
    <dc:creator>trojan_81</dc:creator>
    <dc:date>2019-11-27T00:46:54Z</dc:date>
    <item>
      <title>How to search syntax to exclude dhost or URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-syntax-to-exclude-dhost-or-URL/m-p/493929#M137712</link>
      <description>&lt;P&gt;New to Splunk here. Trying to run a search for user BLAHBLAH that does NOT contain dhost of api.drift.com&lt;BR /&gt;
Would someone help me with the search?  index=* &lt;/P&gt;

&lt;P&gt;My search below but does not seem to be working:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* "BLAHBLAH" sourcetype=* dhost!="api.drift"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Raw syslog below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Nov 26 16:40:26 QHLSTLS11 mwg: status="426/0" srcip="10.99.99.50" user="BLAHLBAH" dhost="presence.api.drift.com" urlp="443" proto="HTTPS/https" mtd="GET" urlc="Business" rep="0" mt="application/x-empty" mlwr="-" app="-" bytes="782/780/201/196" ua="Chrome77-10.0" lat="0/0/71/97" rule="Last Rule" url="https://presence.api.drift.com/ws/websocket?session_token=SFMyNTY.43QAAAACZAAEZGF0YXQAAAAFZAACaWRtAAAAEzEwMzg5Ny00MTE0MTAzMjM0LTRkAAZvcmdfaWRiAAGV2WQACXNjb3BlX3NldGwAAAABbQAAAARsZWFkamQbB3VzZXJfaWRuBADCOzj1ZAAJdXNlcl90eXBlZAAEbGVhZGQABnNpZ25lZG4GAE8ol55uAQ.7-xbZbLOyHODYgRuuNSrIkIupxR3MnYkslNfjSaDMZU&amp;amp;vsn=1.0.0"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Nov 2019 00:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-syntax-to-exclude-dhost-or-URL/m-p/493929#M137712</guid>
      <dc:creator>trojan_81</dc:creator>
      <dc:date>2019-11-27T00:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to search syntax to exclude dhost or URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-syntax-to-exclude-dhost-or-URL/m-p/493930#M137713</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=* user="BLAHBLAH" dhost!="*api.drift*"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Nov 2019 01:01:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-syntax-to-exclude-dhost-or-URL/m-p/493930#M137713</guid>
      <dc:creator>sduff_splunk</dc:creator>
      <dc:date>2019-11-27T01:01:51Z</dc:date>
    </item>
  </channel>
</rss>

