<?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: Join two statistics tables without subsearch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550547#M156233</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 15:37:02 GMT</pubDate>
    <dc:creator>sbarinov</dc:creator>
    <dc:date>2021-05-05T15:37:02Z</dc:date>
    <item>
      <title>Join two statistics tables without subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550541#M156228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compare event type count statistics for 2 days using the following search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=-48h latest=-24h | stats count as count1 by eventtype | table eventtype, count1 | join eventtype [search earliest=-24h latest=now() | stats count as count2 by eventtype | table eventtype, count2] | eval diff=(count2-count1)  | table eventtype, diff | sort diff&lt;/LI-CODE&gt;&lt;P&gt;Is there any option to do this without using subsearch and join?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 15:03:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550541#M156228</guid>
      <dc:creator>sbarinov</dc:creator>
      <dc:date>2021-05-05T15:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Join two statistics tables without subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550542#M156229</link>
      <description>&lt;LI-CODE lang="markup"&gt;earliest=-48h latest=now()
| eval period=floor((now()-_time)/(24*60*60))
| stats count(eval(period=1)) as count1 count(eval(period=0)) as count2 by eventtype
| eval diff=count2-count1
| table eventtype diff
| sort diff&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 May 2021 15:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550542#M156229</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-05T15:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Join two statistics tables without subsearch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550547#M156233</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 15:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Join-two-statistics-tables-without-subsearch/m-p/550547#M156233</guid>
      <dc:creator>sbarinov</dc:creator>
      <dc:date>2021-05-05T15:37:02Z</dc:date>
    </item>
  </channel>
</rss>

