<?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: search to find Bush's stolen watch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320426#M162533</link>
    <description>&lt;P&gt;don't we need some &lt;CODE&gt;geostats&lt;/CODE&gt; ?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2018 21:36:02 GMT</pubDate>
    <dc:creator>ledion</dc:creator>
    <dc:date>2018-03-06T21:36:02Z</dc:date>
    <item>
      <title>search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320423#M162530</link>
      <description>&lt;P&gt;Does anyone know how to craft a search to find George Bush's stolen watch?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 17:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320423#M162530</guid>
      <dc:creator>ledion</dc:creator>
      <dc:date>2018-03-06T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320424#M162531</link>
      <description>&lt;P&gt;Yeah, try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=... sourcetype=... 
| stats count(watch) by president
| search president="Bush_W"
| rename count(watch) AS passed_to_secret_service_agent
| eval where_is_stolen_watch=if(passed_to_secret_service_agent&amp;gt;0,"The U.S. gov forgot to give it back","The watch was stolen")
| table president where_is_stolen_watch
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:15:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320424#M162531</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-06T18:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320425#M162532</link>
      <description>&lt;P&gt;Nuh-uh. Stats count by field will never yield zeroes.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320425#M162532</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-03-06T18:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320426#M162533</link>
      <description>&lt;P&gt;don't we need some &lt;CODE&gt;geostats&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 21:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320426#M162533</guid>
      <dc:creator>ledion</dc:creator>
      <dc:date>2018-03-06T21:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320427#M162534</link>
      <description>&lt;P&gt;Indeed, you'd have to table all the presidents afterwards and fillnull to get those zeroes, that could get tedious, are we also assuming that both pocket and wrist have been classified under the watch field?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 14:29:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320427#M162534</guid>
      <dc:creator>paulbannister</dc:creator>
      <dc:date>2018-03-07T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320428#M162535</link>
      <description>&lt;P&gt;Only if it was a smart watch with GPS positioning.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 22:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320428#M162535</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2018-03-07T22:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320429#M162536</link>
      <description>&lt;P&gt;Line 3 will narrow down to only search "Bush_W". When I googled this scenario, the first thing I saw was that the secret service grabbed it before it was stolen and never gave it back, so I went with it. The answer will always return this if that president ever owned a watch &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**President**  | **Where_is_stolen_watch**
Bush_W             | "The U.S. gov forgot to give it back
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 22:54:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320429#M162536</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-07T22:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: search to find Bush's stolen watch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320430#M162537</link>
      <description>&lt;P&gt;SInce there are so many presidents and watches in the index, you'd want to be in the habit of checking identity of the president first, rather than wasting all those mips counting up the other couple of hundred records.&lt;/P&gt;

&lt;P&gt;Also, since typists may get confused between the various George Bush presidents, and because the name can appear in various forms, you might be better off testing for something like...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| search (first_name="George" AND last_name="Bush") OR president_number = 43
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Mar 2018 01:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/search-to-find-Bush-s-stolen-watch/m-p/320430#M162537</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-03-08T01:00:15Z</dc:date>
    </item>
  </channel>
</rss>

