<?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 Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183797#M52910</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I was wondering if it was possible to search 2 different field's limits. I have tried using join, append, set diff and none have gotten me what I want. What I need is to be able to compare the rare limits of the field &lt;CODE&gt;ip_source&lt;/CODE&gt; and the field &lt;CODE&gt;ip_destination&lt;/CODE&gt; such that I can graph them both and see if any ip addresses overlap. &lt;/P&gt;

&lt;P&gt;This is my most recent search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;set diff [search host="intern-Studio-1737" | rare limit=20 ip_destination] [search  host="intern-Studio-1737" | rare limit=20 ip_source ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please let me know if you can help!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2015 14:14:54 GMT</pubDate>
    <dc:creator>BITSIntern</dc:creator>
    <dc:date>2015-06-30T14:14:54Z</dc:date>
    <item>
      <title>Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183797#M52910</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I was wondering if it was possible to search 2 different field's limits. I have tried using join, append, set diff and none have gotten me what I want. What I need is to be able to compare the rare limits of the field &lt;CODE&gt;ip_source&lt;/CODE&gt; and the field &lt;CODE&gt;ip_destination&lt;/CODE&gt; such that I can graph them both and see if any ip addresses overlap. &lt;/P&gt;

&lt;P&gt;This is my most recent search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;set diff [search host="intern-Studio-1737" | rare limit=20 ip_destination] [search  host="intern-Studio-1737" | rare limit=20 ip_source ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please let me know if you can help!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183797#M52910</guid>
      <dc:creator>BITSIntern</dc:creator>
      <dc:date>2015-06-30T14:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183798#M52911</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[search host="intern-Studio-1737" | rare limit=20 ip_destination | eval joiner=ip_destination] | append [search host="intern-Studio-1737" | rare limit=20 ip_source | eval joiner=ip_source ] | stats values(*) AS * by joiner
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will give you the fields from the events in each source that share the same IP address and drop all the other events' fields.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:24:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183798#M52911</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-30T14:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183799#M52912</link>
      <description>&lt;P&gt;Hello! Did you use the &lt;STRONG&gt;join&lt;/STRONG&gt; like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  ......   host="intern-Studio-1737" | rare limit=20 ip_destination|join  [search host="intern-Studio-1737" | rare limit=20 ip_source ]|table ip_destination ip_source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:26:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183799#M52912</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-06-30T14:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183800#M52913</link>
      <description>&lt;P&gt;THANK YOU!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183800#M52913</guid>
      <dc:creator>BITSIntern</dc:creator>
      <dc:date>2015-06-30T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search 2 different IP fields' rare limits to graph them both and see if any IP addresses overlap?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183801#M52914</link>
      <description>&lt;P&gt;Thanks for the help! This didn't really get me the result I wanted but it helped!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:31:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-2-different-IP-fields-rare-limits-to/m-p/183801#M52914</guid>
      <dc:creator>BITSIntern</dc:creator>
      <dc:date>2015-06-30T14:31:29Z</dc:date>
    </item>
  </channel>
</rss>

