<?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: count uri_host hits including subdomains? Squid logs. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23903#M96599</link>
    <description>&lt;P&gt;Yeah, I really wanted to be able to bundle up all the sub-domains with the TLD's, &lt;BR /&gt;
like, 3 hits on news.com.au plus 3 hits on resources.news.com.au = 6 hits.&lt;BR /&gt;
Ive done a lot of looking around today, and there doesn't seem to be a good way of doing it.&lt;BR /&gt;
Bummer.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2012 10:38:13 GMT</pubDate>
    <dc:creator>mrgibbon</dc:creator>
    <dc:date>2012-11-06T10:38:13Z</dc:date>
    <item>
      <title>count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23899#M96595</link>
      <description>&lt;P&gt;Hey Guys, Im trying to come up with some searches for our HR department.&lt;BR /&gt;
We sometimes have to present them with evidence of web browsing activity for a named user.&lt;BR /&gt;
I would like to know if there is a way of combining all the hits from web pages that are in the same domain?&lt;/P&gt;

&lt;P&gt;eg. news.com.au also has resources.news.com.au and resources2.news.com.au etc&lt;/P&gt;

&lt;P&gt;Is there a way of getting a really acurate portrail of a users browsing habits from Squid logs?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 21:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23899#M96595</guid>
      <dc:creator>mrgibbon</dc:creator>
      <dc:date>2012-11-05T21:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23900#M96596</link>
      <description>&lt;P&gt;If you have a subdomain and just want to get a number of the hits, that's easy. In the Splunk for Squid app you could either use the Requests search view and simply put a wildcard before the domain you're interested in looking at in the Host field, for instance "*.news.com.au".&lt;/P&gt;

&lt;P&gt;If on the other hand you're looking for some kind of generic mechanism for identifying which domains are simply subdomains of the ones you're interested in, that's simply impossible, because there's no way to know where a "main domain" ends and where a subdomain stops. Especially since different TLDs utilise different standards, so for example for the .com domain it might be interesting to break out the two last parts - "google.com", "splunk.com" etc - whereas for .au and .uk domains among others that won't make sense because you'll get "com.au", "co.uk", "ac.uk" and so on.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23900#M96596</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-06T10:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23901#M96597</link>
      <description>&lt;P&gt;You could build a field from the full domain using regular expressions along with a list of TLDs. In untested rex guise it might look something like this:&lt;/P&gt;

&lt;P&gt;... | rex field=domain "(?&amp;lt;base_domain&amp;gt;[^.]+)\.(com|co\.uk|com\.au|and|so|on))$" | ...&lt;/P&gt;

&lt;P&gt;Such a list of TLDs should be obtainable, finite, and relatively stable.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23901#M96597</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-06T10:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23902#M96598</link>
      <description>&lt;P&gt;Yeah, I really wanted to be able to bundle up all the sub-domains with the TLD's, &lt;BR /&gt;
like, 3 hits on news.com.au plus 3 hits on resources.news.com.au = 6 hits.&lt;BR /&gt;
Ive done a lot of looking around today, and there doesn't seem to be a good way of doing it.&lt;BR /&gt;
Bummer.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23902#M96598</guid>
      <dc:creator>mrgibbon</dc:creator>
      <dc:date>2012-11-06T10:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23903#M96599</link>
      <description>&lt;P&gt;Yeah, I really wanted to be able to bundle up all the sub-domains with the TLD's, &lt;BR /&gt;
like, 3 hits on news.com.au plus 3 hits on resources.news.com.au = 6 hits.&lt;BR /&gt;
Ive done a lot of looking around today, and there doesn't seem to be a good way of doing it.&lt;BR /&gt;
Bummer.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:38:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23903#M96599</guid>
      <dc:creator>mrgibbon</dc:creator>
      <dc:date>2012-11-06T10:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: count uri_host hits including subdomains? Squid logs.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23904#M96600</link>
      <description>&lt;P&gt;Not strictly &lt;EM&gt;impossible&lt;/EM&gt;, but hard. The domain registrars of various countries have different rules about how entity names are joined with TLD components to produce a final domain name. You can start &lt;A href="http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains"&gt;here&lt;/A&gt; on Wikipedia, but it could well be a moving target.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 12:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/count-uri-host-hits-including-subdomains-Squid-logs/m-p/23904#M96600</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-11-06T12:29:45Z</dc:date>
    </item>
  </channel>
</rss>

