<?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 tie multiple events together (transaction, join, etc.) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-tie-multiple-events-together-transaction-join-etc/m-p/702398#M238173</link>
    <description>&lt;P&gt;Try something like this (although you will have to tweak it to get the size you want)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eventstats values(hdr_mid) as msgid by qid
| stats values(from) as sender, values(to) as recipient values(subject) as subject values(size) as size by msgid&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 21 Oct 2024 16:00:27 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-10-21T16:00:27Z</dc:date>
    <item>
      <title>How to tie multiple events together (transaction, join, etc.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-tie-multiple-events-together-transaction-join-etc/m-p/702389#M238170</link>
      <description>&lt;P&gt;&lt;U&gt;Hi,&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I am trying to tie multiple events describing single transaction together.&lt;BR /&gt;This is my test example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="0"&gt;&lt;P&gt;&lt;BR /&gt;Event&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Oct 21 08:19:42 host.company.com 2024-10-21T13:19:42.391606+00:00 host sendmail[8920]: 49L2pZMi015103: to=&lt;A href="mailto:recipient@company.com" target="_blank" rel="noopener"&gt;recipient@company.com&lt;/A&gt;, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, tls_verify=NONE, tls_version=NONE, cipher=NONE, pri=261675, relay=host.company.com. [X.X.X.X], dsn=2.6.0, stat=Sent (&lt;A href="mailto:105f7c9d-76a2-a595-e329-617f87ba2602@company.com" target="_blank" rel="noopener"&gt;105f7c9d-76a2-a595-e329-617f87ba2602@company.com&lt;/A&gt; [InternalId=19267223300036, Hostname=HOSTNAME.company.com] 145203 bytes in 0.663, 213.865 KB/sec Queued mail for delivery)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Oct 21 08:19:41 host.company.com 2024-10-21T13:19:41.715034+00:00 host filter_instance1[31332]: rprt s=42cu1tbqet m=1 x=42cu1tbqet-1 mod=mail cmd=msg module= rule= action=continue attachments=4 rcpts=1 routes=allow_relay,default_inbound,internalnet size=143489 guid=jb9XbZ5Gez432DgKTDz22jNgntXrF6xb hdr_mid=&lt;A href="mailto:105f7c9d-76a2-a595-e329-617f87ba2602@company.com" target="_blank" rel="noopener"&gt;105f7c9d-76a2-a595-e329-617f87ba2602@company.com&lt;/A&gt; qid=49L2pZMi015103 hops-ip=Y.Y.Y.Y subject="Your Weekly&amp;nbsp; Insights" duration=0.095 elapsed=0.353&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Oct 21 08:19:41 host.company.com 2024-10-21T13:19:41.714759+00:00 usdfwppserai1 filter_instance1[31332]: rprt s=42cu1tbqet m=1 x=42cu1tbqet-1 cmd=send profile=mail qid=49L2pZMi015103 &lt;A href="mailto:rcpts=recipient@company.com" target="_blank" rel="noopener"&gt;rcpts=recipient@company.com&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Oct 21 08:19:41 host.company.com 2024-10-21T13:19:41.675365+00:00 host sendmail[15103]: 49L2pZMi015103: from=&lt;A href="mailto:sender@company.com" target="_blank" rel="noopener"&gt;sender@company.com&lt;/A&gt;, size=141675, class=0, nrcpts=1, msgid=&lt;A href="mailto:105f7c9d-76a2-a595-e329-617f87ba2602@company.com" target="_blank" rel="noopener"&gt;105f7c9d-76a2-a595-e329-617f87ba2602@company.com&lt;/A&gt;, proto=ESMTP, daemon=MTA, tls_verify=NONE, tls_version=NONE, cipher=NONE, auth=NONE, relay=host.company.com [Z.Z.Z.Z]&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can extract message id (&lt;A href="mailto:105f7c9d-76a2-a595-e329-617f87ba2602@company.com" target="_blank" rel="noopener"&gt;105f7c9d-76a2-a595-e329-617f87ba2602@company.com&lt;/A&gt;) and qid (49L2pZMi015103) from the topmost message and tie it this way to the bottom one, but this is only two events out of series of four.&amp;nbsp; How would I generate complete view of all four events? I am looking to get sender and recipient SMTP addresses, subject and message sizes from top and bottom event.&lt;BR /&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 15:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-tie-multiple-events-together-transaction-join-etc/m-p/702389#M238170</guid>
      <dc:creator>SplunkUser001</dc:creator>
      <dc:date>2024-10-21T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to tie multiple events together (transaction, join, etc.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-tie-multiple-events-together-transaction-join-etc/m-p/702398#M238173</link>
      <description>&lt;P&gt;Try something like this (although you will have to tweak it to get the size you want)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eventstats values(hdr_mid) as msgid by qid
| stats values(from) as sender, values(to) as recipient values(subject) as subject values(size) as size by msgid&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Oct 2024 16:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-tie-multiple-events-together-transaction-join-etc/m-p/702398#M238173</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-10-21T16:00:27Z</dc:date>
    </item>
  </channel>
</rss>

