<?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 DHCP and Proxy Search - Join Performance Issues in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303654#M91341</link>
    <description>&lt;P&gt;I have a working search using join that correlates DHCP addresses by machine name to find web proxy traffic as the device changes IP addresses. Join is quite slow though. Is there a way to do a faster search that provides similar results with something like stats or eventstats instead of join?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy | join ip  usetime=true earlier=true [ search index=dhcp dest_hostname="computername"| rename dest as ip]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 May 2017 14:04:32 GMT</pubDate>
    <dc:creator>michaeldeck</dc:creator>
    <dc:date>2017-05-19T14:04:32Z</dc:date>
    <item>
      <title>DHCP and Proxy Search - Join Performance Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303654#M91341</link>
      <description>&lt;P&gt;I have a working search using join that correlates DHCP addresses by machine name to find web proxy traffic as the device changes IP addresses. Join is quite slow though. Is there a way to do a faster search that provides similar results with something like stats or eventstats instead of join?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy | join ip  usetime=true earlier=true [ search index=dhcp dest_hostname="computername"| rename dest as ip]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 14:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303654#M91341</guid>
      <dc:creator>michaeldeck</dc:creator>
      <dc:date>2017-05-19T14:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP and Proxy Search - Join Performance Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303655#M91342</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy OR (index=dhcp dest_hostname="computername"
| eval ip=coalesce(ip, dest)
| fields - dest
| stats list(*) AS * BY ip
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 23:01:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303655#M91342</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-19T23:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP and Proxy Search - Join Performance Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303656#M91343</link>
      <description>&lt;P&gt;When I attempted to run this, it seems to return every proxy event sorted by IP instead of just the ones relative to IPs just used by "computername".&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 12:47:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303656#M91343</guid>
      <dc:creator>michaeldeck</dc:creator>
      <dc:date>2017-05-22T12:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: DHCP and Proxy Search - Join Performance Issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303657#M91344</link>
      <description>&lt;P&gt;This should do it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=proxy [ search index=dhcp dest_hostname="computername"| stats values(dest) AS ip ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 May 2017 01:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DHCP-and-Proxy-Search-Join-Performance-Issues/m-p/303657#M91344</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-26T01:41:34Z</dc:date>
    </item>
  </channel>
</rss>

