<?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: Only show transactions that don't contain a certain value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342120#M101374</link>
    <description>&lt;P&gt;Neither of the suggestions quite got at what I was trying to do.&lt;/P&gt;

&lt;P&gt;I ended up doing this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="access_log" status=200  | transaction srcip maxspan=15m | nomv cookie | search cookie="-"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This collapsed the separate cookie variables into one cookie field which I then inspect to see if it had more than a blank entry (our web server records "no cookie" as "-") and discard everything that's ever had a cookie.&lt;/P&gt;

&lt;P&gt;Not sure if there's a better way to have done this....&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2017 14:49:17 GMT</pubDate>
    <dc:creator>sfrazer</dc:creator>
    <dc:date>2017-08-04T14:49:17Z</dc:date>
    <item>
      <title>Only show transactions that don't contain a certain value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342117#M101371</link>
      <description>&lt;P&gt;This may have been asked before, but I'm having trouble finding it.&lt;/P&gt;

&lt;P&gt;I have weblogs that I've sliced into transactions like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_log | transaction srcip maxspan=15m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm looking for entries that NEVER have a cookie set. In a transaction where a cookie is set I have 2 or more values for cookies, I see this in the cookie field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cookie
-   
s_vi=[CS]v1|00000000000000-00000000000[CE]; _gat_UA-00000000=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I'd like for this transaction to not appear in my result set.&lt;/P&gt;

&lt;P&gt;I've tried this, without success:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_log | transaction srcip maxspan=15m | where (cookie = "-")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it still returns the example with 2 cookies in it.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342117#M101371</guid>
      <dc:creator>sfrazer</dc:creator>
      <dc:date>2017-08-02T20:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Only show transactions that don't contain a certain value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342118#M101372</link>
      <description>&lt;P&gt;sourcetype=access_log | transaction srcip maxspan=15m | where (cookie!= "-")&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:40:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342118#M101372</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-08-02T20:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Only show transactions that don't contain a certain value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342119#M101373</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; sourcetype=access_log NOT cookie=*
| transaction srcip maxspan=15m
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2017 00:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342119#M101373</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-08-03T00:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Only show transactions that don't contain a certain value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342120#M101374</link>
      <description>&lt;P&gt;Neither of the suggestions quite got at what I was trying to do.&lt;/P&gt;

&lt;P&gt;I ended up doing this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="access_log" status=200  | transaction srcip maxspan=15m | nomv cookie | search cookie="-"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This collapsed the separate cookie variables into one cookie field which I then inspect to see if it had more than a blank entry (our web server records "no cookie" as "-") and discard everything that's ever had a cookie.&lt;/P&gt;

&lt;P&gt;Not sure if there's a better way to have done this....&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Only-show-transactions-that-don-t-contain-a-certain-value/m-p/342120#M101374</guid>
      <dc:creator>sfrazer</dc:creator>
      <dc:date>2017-08-04T14:49:17Z</dc:date>
    </item>
  </channel>
</rss>

