<?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: stuck on a subsearch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375999#M110468</link>
    <description>&lt;P&gt;Can you convert to answer?&lt;/P&gt;</description>
    <pubDate>Mon, 07 May 2018 20:33:04 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2018-05-07T20:33:04Z</dc:date>
    <item>
      <title>stuck on a subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375995#M110464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have this query, what I'm trying to do is pull the mac address out of events with a 405 error dedup them then put them in a table.  Then taking that table search the same index and match on mac address and pull out the external account id and finally put the mac address and external account id in a table.  I can break apart the query and it seems to work, just not working when I put it together.  Thoughts?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*" [search index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*" 405|rex "deviceregistry.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"|dedup mac|table mac] |rex ".macAddress.:.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"|rex "externalAccountId...(?&amp;lt;extref&amp;gt;\d+)"|table extref|where len(extref)&amp;lt;10|table mac extref
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 May 2018 19:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375995#M110464</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2018-05-07T19:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: stuck on a subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375996#M110465</link>
      <description>&lt;P&gt;failed attempt #2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*" [search index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*" 405|rex "deviceregistry.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"|dedup mac|table mac] |rex ".macAddress.:.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"|rex "externalAccountId...(?&amp;lt;extref&amp;gt;\d+)"|where len(extref)&amp;lt;10| stats list(extref) AS "External Reference", values(mac) AS "Mac Address" BY mac
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 May 2018 20:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375996#M110465</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2018-05-07T20:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: stuck on a subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375997#M110466</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*"|rex ".macAddress.:.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"  | search [search index=blah source="/var/nfs/SAT_SplunkLogs/wscvr/blah_portal*" 405|rex "deviceregistry.(?&amp;lt;mac&amp;gt;[a-fA-F0-9\.:-]{12,17})"|dedup mac|table mac] |rex "externalAccountId...(?&amp;lt;extref&amp;gt;\d+)"|where len(extref)&amp;lt;10| stats list(extref) AS "External Reference", values(mac) AS "Mac Address" BY mac
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 May 2018 20:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375997#M110466</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-05-07T20:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: stuck on a subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375998#M110467</link>
      <description>&lt;P&gt;ahhhh search then [search&lt;/P&gt;

&lt;P&gt;Thanks Somesoni2!!!&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 20:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375998#M110467</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2018-05-07T20:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: stuck on a subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375999#M110468</link>
      <description>&lt;P&gt;Can you convert to answer?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 20:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stuck-on-a-subsearch/m-p/375999#M110468</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2018-05-07T20:33:04Z</dc:date>
    </item>
  </channel>
</rss>

