<?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: How to generate a search to find persistent connections between client workstations to the internet? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342085#M101367</link>
    <description>&lt;P&gt;You were so close; run your search for &lt;CODE&gt;Last 24 hours&lt;/CODE&gt; and tack this onto the end of it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eventstats count(eval(count&amp;gt;0)) AS hours_non_zero BY user url | search hours_non_zero&amp;gt;=24
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Mar 2017 00:49:09 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-03-10T00:49:09Z</dc:date>
    <item>
      <title>How to generate a search to find persistent connections between client workstations to the internet?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342083#M101365</link>
      <description>&lt;P&gt;I have squid proxy log that I want to mine for persistent connections from my client workstations to the internet (ie: teamviewer, gotomypc, spyware C&amp;amp;C, etc).&lt;/P&gt;

&lt;P&gt;Looking to do a search to determine if clients connect to the same URL or IP address during each 1 hour period of the prior 24 hours.&lt;/P&gt;

&lt;P&gt;I have started with this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy | bucket _time span=1h | stats count by _time,user,url | sort - user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which gives me a list of all urls by user by count, I think I need to then search this query for all occurrences by user by hour for each URL to determine if they are in all 24 hour periods.&lt;/P&gt;

&lt;P&gt;Suggestions?  Thoughts?  Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 21:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342083#M101365</guid>
      <dc:creator>pdumblet</dc:creator>
      <dc:date>2017-03-07T21:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find persistent connections between client workstations to the internet?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342084#M101366</link>
      <description>&lt;P&gt;Give this a try. This will give your all users and hours and url for last 24 hrs where a user-url combination did not appear for all 24 hrs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy  earliest=-24h@h latest=@h | bucket _time span=1h | stats count by _time,user,url  | eventstats dc(_time) as totalHours by user,url | where totalHours&amp;lt;24
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Mar 2017 22:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342084#M101366</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-07T22:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find persistent connections between client workstations to the internet?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342085#M101367</link>
      <description>&lt;P&gt;You were so close; run your search for &lt;CODE&gt;Last 24 hours&lt;/CODE&gt; and tack this onto the end of it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eventstats count(eval(count&amp;gt;0)) AS hours_non_zero BY user url | search hours_non_zero&amp;gt;=24
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:49:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342085#M101367</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-10T00:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search to find persistent connections between client workstations to the internet?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342086#M101368</link>
      <description>&lt;P&gt;I think your &lt;CODE&gt;&amp;lt;&lt;/CODE&gt; should be a &lt;CODE&gt;=&lt;/CODE&gt;, right?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-to-find-persistent-connections-between/m-p/342086#M101368</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-10T00:49:57Z</dc:date>
    </item>
  </channel>
</rss>

