<?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: How to correlate across events, then aggregate by a different event? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-correlate-across-events-then-aggregate-by-a-different/m-p/462054#M191441</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(user) as user, values(result) as result by traceid
| stats count(result="200") as "success", count(result!="200") as "failure" by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 26 Aug 2019 21:58:35 GMT</pubDate>
    <dc:creator>masonmorales</dc:creator>
    <dc:date>2019-08-26T21:58:35Z</dc:date>
    <item>
      <title>How to correlate across events, then aggregate by a different event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-correlate-across-events-then-aggregate-by-a-different/m-p/462053#M191440</link>
      <description>&lt;P&gt;Something like,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;DEBUG traceid=123 user=john&lt;BR /&gt;
DEBUG traceid=123 result=200&lt;BR /&gt;
DEBUG traceid=456 user=john&lt;BR /&gt;
DEBUG traceid=456 result=400&lt;BR /&gt;
DEBUG traceid=789 user=sue&lt;BR /&gt;
DEBUG traceid=789 result=200&lt;BR /&gt;
DEBUG traceid=abc user=john&lt;BR /&gt;
DEBUG traceid=abc result=200&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I want to get:&lt;BR /&gt;
&lt;STRONG&gt;John success 2 failure 1&lt;BR /&gt;
sue success 1 failure 0&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 19:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-correlate-across-events-then-aggregate-by-a-different/m-p/462053#M191440</guid>
      <dc:creator>toehser1</dc:creator>
      <dc:date>2019-08-26T19:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to correlate across events, then aggregate by a different event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-correlate-across-events-then-aggregate-by-a-different/m-p/462054#M191441</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(user) as user, values(result) as result by traceid
| stats count(result="200") as "success", count(result!="200") as "failure" by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Aug 2019 21:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-correlate-across-events-then-aggregate-by-a-different/m-p/462054#M191441</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2019-08-26T21:58:35Z</dc:date>
    </item>
  </channel>
</rss>

