<?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 can I group and aggregate and filter all events based on those aggregated attributes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690990#M235326</link>
    <description>&lt;P&gt;You could try using eventstats to tag each event with the aggregated value for the transaction it is a part of and use this to filter the events.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 12:37:16 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-06-18T12:37:16Z</dc:date>
    <item>
      <title>How can I group and aggregate and filter all events based on those aggregated attributes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690987#M235324</link>
      <description>&lt;P&gt;Coming from SQL, I want to do stuff like GROUP BY and HAVING ...&lt;/P&gt;&lt;P&gt;The data is available with a transaction identifier.Grouing should be done by that transaction identifier.&lt;/P&gt;&lt;P&gt;Per transaction, I want to check a few attributes, if their values are unique within each treansaction.&lt;/P&gt;&lt;P&gt;In SQL terms:&lt;BR /&gt;select transaction_id from index group by transaction_id&lt;/P&gt;&lt;P&gt;having count(distinct attr1) = 1 and count(distinct attr2) = 1 and count(distinct attr3) = 1&lt;/P&gt;&lt;P&gt;From that table of transaction_ids, a join to the same index should be done to filter the events.&lt;/P&gt;&lt;P&gt;How can I achieve this with Splunk query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690987#M235324</guid>
      <dc:creator>cjoelly</dc:creator>
      <dc:date>2024-06-18T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I group and aggregate and filter all events based on those aggregated attributes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690990#M235326</link>
      <description>&lt;P&gt;You could try using eventstats to tag each event with the aggregated value for the transaction it is a part of and use this to filter the events.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 12:37:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690990#M235326</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-06-18T12:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I group and aggregate and filter all events based on those aggregated attributes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690997#M235331</link>
      <description>&lt;P&gt;I dont know if my approach is the right way to go. As I learned, that JOINs allow only 50.000 records to be joined. And I expect way more events to be joined to the filtered transactions.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 14:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/690997#M235331</guid>
      <dc:creator>cjoelly</dc:creator>
      <dc:date>2024-06-18T14:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I group and aggregate and filter all events based on those aggregated attributes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/691059#M235355</link>
      <description>&lt;P&gt;We changed our approach, generate a different structure in Splunk using stats and thus we do not need to read the raw events anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 06:45:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-group-and-aggregate-and-filter-all-events-based-on/m-p/691059#M235355</guid>
      <dc:creator>cjoelly</dc:creator>
      <dc:date>2024-06-19T06:45:13Z</dc:date>
    </item>
  </channel>
</rss>

