<?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: compound query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/compound-query/m-p/21612#M177362</link>
    <description>&lt;P&gt;You could approach like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search | stats dc(clientip) as dc by serverip | where dc = 3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That counts the unique IPs per server - those rows that have a "3" will have been visited by all three clients.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2013 11:05:35 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-08-01T11:05:35Z</dc:date>
    <item>
      <title>compound query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compound-query/m-p/21611#M177361</link>
      <description>&lt;P&gt;Not sure this is really a "compound query" question, but not sure how else to describe it.&lt;/P&gt;

&lt;P&gt;I'm searching proxy logs and am interested in finding the "server_ip" (remote web servers) that 3 client_ips (internal users browsing the internet) all have visited.&lt;/P&gt;

&lt;P&gt;So if... &lt;BR /&gt;
client_ip 1 visited server_ip 1 and server_ip X and &lt;BR /&gt;
client_ip 2 visited server_ip 2 and server_ip X, and &lt;BR /&gt;
client_ip 3 visited server_ip 3 and server_ip X, &lt;BR /&gt;
I would like a query to reveal that all 3 client_ips visited server_ip x&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compound-query/m-p/21611#M177361</guid>
      <dc:creator>mikefoti</dc:creator>
      <dc:date>2020-09-28T14:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: compound query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/compound-query/m-p/21612#M177362</link>
      <description>&lt;P&gt;You could approach like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search | stats dc(clientip) as dc by serverip | where dc = 3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That counts the unique IPs per server - those rows that have a "3" will have been visited by all three clients.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2013 11:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/compound-query/m-p/21612#M177362</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-08-01T11:05:35Z</dc:date>
    </item>
  </channel>
</rss>

