<?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: Merge two logs to get the desired Dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684664#M233710</link>
    <description>&lt;P&gt;Thanks for providing some example events in a code block - very informative.&lt;/P&gt;&lt;P&gt;The main issue with your request is that you haven't explained how the events are to be correlated between the two sources and how you would like to count them to give the desired result.&lt;/P&gt;&lt;P&gt;Also, it appears the your search for the second source is not quite right (unless there are other events which match the search criteria that you have shared, e.g. "&amp;lt;---" should be "&amp;lt;===" in the search?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 14:29:31 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-04-18T14:29:31Z</dc:date>
    <item>
      <title>Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684619#M233689</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need to create a dashboard panel merging two different search queries. I have below two queries:&lt;BR /&gt;Kindly help on this request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=test_index source=/applications/test/*instance_abc* ("&amp;lt;--- TRN:" OR "Priority" OR "---&amp;gt; TRN:" OR "AP sent to" OR "AH sent to" OR "MP sent to")
    | rex field=_raw "Priority\=(?&amp;lt;Priority&amp;gt;[^\,]+)"
    | rex "(?:\={3}\&amp;gt;|\&amp;lt;\-{3})\s+TRN[^\:]*\:\s+(?&amp;lt;trn&amp;gt;[^\s]+)"
    | rex "TEST\.RCV\.FROM\.(?&amp;lt;TestMQ&amp;gt;.*)\@"
    | stats
        count(eval(Priority=="Low")) as Low,
        count(eval(Priority=="Medium")) as Medium,
        count(eval(Priority=="High")) as High,
        values(TestMQ) as TestMQ
            by trn
    | stats
        sum(Low) as Low,
        sum(Medium) as Medium,
        sum(High) as High
            by TestMQ
    | addtotals fieldname="TotalCount"
    | sort by TotalCount desc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me output as below:&lt;BR /&gt;&lt;STRONG&gt;TestMQ | Low | Medium | High | TotalCount&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The 2nd query is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=test_index source=/applications/test/*instance_abc* ("&amp;lt;--- TRN:" OR "Priority" OR "---&amp;gt; TRN:" OR "AP sent to" OR "AH sent to" OR "MP sent to")
| eval field=split(source,"/")
| eval Instance=mvindex(field,4)
| chart count(eval(searchmatch("from"))) as Testget count(eval(searchmatch("sent to"))) as Testput count(eval(searchmatch("AP sent to"))) as AP count(eval(searchmatch("AH sent to"))) as AH count(eval(searchmatch("MP sent to"))) as MP by Instance
| eval Pending = Testget - (AP + AH)
| sort Testget desc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me output as below:&lt;BR /&gt;Instance | Testget | Testput | AP | AH | MP | Pending&lt;BR /&gt;&lt;BR /&gt;I am looking for merging both the queries together and get the final output based on Pending volume for Low, Medium and High priority counts.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Select: Low, Medium, High (From the Dashboard dropdown)&lt;BR /&gt;&lt;BR /&gt;Output Expected:&lt;BR /&gt;TestMQ| Low-Testget | Low-Testput | Low-AP | Low-AH | Low-MP | Low-Pending&lt;BR /&gt;TestMQ | Medium-Testget | Medium-Testput | Medium-AP | Medium-AH | Medium-MP | Medium-Pending&lt;BR /&gt;TestMQ | High-Testget | High-Testput | High-AP | High-AH | High-MP | High-Pending&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 08:05:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684619#M233689</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-19T08:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684620#M233690</link>
      <description>&lt;P&gt;Refer below sample log file - there are 2 log files "testget.log" &amp;amp; "testput.log"&lt;/P&gt;&lt;P&gt;Sample "testget.log" file as below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;240418 06:44:51  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  133c0119a15e407595cd46c89216ca101 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:44:51  37787   testget1: &amp;lt;--- TRN:  133c0119a15e407595cd46c89216ca101 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:51  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  b247073ae24443d79be3360de4c1bfec1 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:44:51  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  f3cf7266d2ad4fa6bf86412441c374991 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:44:51  37787   testget1: &amp;lt;--- TRN:  b247073ae24443d79be3360de4c1bfec1 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:51  37787   testget1: &amp;lt;--- TRN:  f3cf7266d2ad4fa6bf86412441c374991 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:51  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  d7de4351d94040a995eb373fe834a0371 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:44:50  37787   testget1: &amp;lt;--- TRN:  d7de4351d94040a995eb373fe834a0371 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:49  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  c36d67d7af5f45f28afe0af2a80c6ea61 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:44:49  37787   testget1: &amp;lt;--- TRN:  c36d67d7af5f45f28afe0af2a80c6ea61 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:41:24  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  fbccac1e49bf41b9a66ac87c2e9976691 [Priority=Medium,ScanPriority=4, Rule: LOC=HK2; Cur=USD; Amtâ‰¥0; Srv=ALL; Recv@1565936557:00 00-00-0000].
240418 06:41:24  37787   testget1: &amp;lt;--- TRN:  fbccac1e49bf41b9a66ac87c2e9976691 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00013-DREn0000cA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00012-DREn0000bA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00011-DREn0000aA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00010-DREn00009A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00009-DREn00008A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00008-DREn00007A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00007-DREn00006A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00006-DREn00005A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00005-DREn00004A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00004-DREn00003A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00003-DREn00002A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00002-DREn00001A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00013-DREn0000cA - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00012-DREn0000bA - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00011-DREn0000aA - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00010-DREn00009A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00009-DREn00008A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00008-DREn00007A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00007-DREn00006A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: vlog: Current log size is 2441342 bytes
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00006-DREn00005A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00005-DREn00004A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00004-DREn00003A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00003-DREn00002A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:57  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00002-DREn00001A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:39:56  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  UVW024041800194GN00001-DREn00000A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:39:56  37787   testget1: &amp;lt;--- TRN:  UVW024041800194GN00001-DREn00000A - S from [TEST.RCV.FROM.PQR@QM.PQRS103].
240418 06:37:45  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  34e4c77406e647d29859a7c3e0077cab1 [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:45  37787   testget1: &amp;lt;--- TRN:  34e4c77406e647d29859a7c3e0077cab1 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:37:28  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  17bd221de8f14fd09439fc2bb9564bed1 [Priority=Medium,ScanPriority=4, Rule: LOC=HK2; Cur=USD; Amtâ‰¥0; Srv=ALL; Recv@1565936557:00 00-00-0000].
240418 06:37:28  37787   testget1: &amp;lt;--- TRN:  17bd221de8f14fd09439fc2bb9564bed1 - S from [TEST.RCV.FROM.ABC.PQRST.Q1@QM.PQRS102].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00081-DREl00050A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00080-DREl0004fA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00079-DREl0004eA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00078-DREl0004dA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00077-DREl0004cA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00076-DREl0004bA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00059-DREl0003aA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00058-DREl00039A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00057-DREl00038A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00056-DREl00037A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00055-DREl00036A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00054-DREl00035A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00053-DREl00034A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00052-DREl00033A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00081-DREl00050A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00080-DREl0004fA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00079-DREl0004eA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00078-DREl0004dA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00077-DREl0004cA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00076-DREl0004bA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00071-DREl00046A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00057-DREl00038A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00056-DREl00037A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00055-DREl00036A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00054-DREl00035A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00053-DREl00034A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00052-DREl00033A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00051-DREl00032A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00050-DREl00031A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00049-DREl00030A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00048-DREl0002fA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00047-DREl0002eA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00031-DREl0001eA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00030-DREl0001dA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00029-DREl0001cA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00028-DREl0001bA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00027-DREl0001aA [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00026-DREl00019A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00025-DREl00018A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00024-DREl00017A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: vlog: Current log size is 2427949 bytes
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00023-DREl00016A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00022-DREl00015A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00021-DREl00014A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00020-DREl00013A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00009-DREl00008A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00008-DREl00007A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00007-DREl00006A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00006-DREl00005A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00005-DREl00004A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00004-DREl00003A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00003-DREl00002A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00002-DREl00001A [Priority=Low,ScanPriority=0, Rule: Default Rule].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00051-DREl00032A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00050-DREl00031A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00049-DREl00030A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00048-DREl0002fA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00047-DREl0002eA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00046-DREl0002dA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00045-DREl0002cA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00044-DREl0002bA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00043-DREl0002aA - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00042-DREl00029A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00036-DREl00023A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:08  37787   testget1: &amp;lt;--- TRN:  MNO24041800065GS00035-DREl00022A - S from [TEST.RCV.FROM.XYZ@QM.PQRS103].
240418 06:37:07  37787   testget1: ===&amp;gt; TRN@instance_abc.RQ1:  MNO24041800065GS00001-DREl00000A [Priority=Low,ScanPriority=0, Rule: Default Rule].&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684620#M233690</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-18T11:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684622#M233692</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sample "&lt;STRONG&gt;testput.log&lt;/STRONG&gt;" file as below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;240418 06:44:53   3543   testput1:  ---&amp;gt; TRN:  133c0119a15e407595cd46c89216ca101 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:53   3543   testput1:  &amp;lt;=== TRN@Al10: 133c0119a15e407595cd46c89216ca101 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:44:52   3543   testput1:  ---&amp;gt; TRN:  b247073ae24443d79be3360de4c1bfec1 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:52   3543   testput1:  &amp;lt;=== TRN@Al5: b247073ae24443d79be3360de4c1bfec1 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:44:52   3543   testput1:  ---&amp;gt; TRN:  f3cf7266d2ad4fa6bf86412441c374991 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:52   3543   testput1:  &amp;lt;=== TRN@Al10: f3cf7266d2ad4fa6bf86412441c374991 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:44:52   3543   testput1:  ---&amp;gt; TRN:  d7de4351d94040a995eb373fe834a0371 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:52   3543   testput1:  &amp;lt;=== TRN@Al13: d7de4351d94040a995eb373fe834a0371 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:44:50   3543   testput1:  ---&amp;gt; TRN:  c36d67d7af5f45f28afe0af2a80c6ea61 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:44:50   3543   testput1:  &amp;lt;=== TRN@Al9: c36d67d7af5f45f28afe0af2a80c6ea61 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:43:31   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;UVW024041800194GN00002-DREn00001A&amp;gt; . Out Status = &amp;lt; &amp;gt;
240418 06:43:31   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;UVW024041800194GN00002-DREn00001A&amp;gt; . In  Status = &amp;lt;P&amp;gt;
240418 06:43:31   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00002-DREn00001A - MP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:43:31   3543   testput1:  &amp;lt;=== TRN@mmicntl: UVW024041800194GN00002-DREn00001A - MP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:41:25   3543   testput1:  ---&amp;gt; TRN:  fbccac1e49bf41b9a66ac87c2e9976691 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:41:25   3543   testput1:  &amp;lt;=== TRN@Al9: fbccac1e49bf41b9a66ac87c2e9976691 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:59   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00013 - MP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:59   3543   testput1:  SendResponseToHost : Sending response to the Host
240418 06:39:59   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;UVW024041800194GN00013-DREn0000cA&amp;gt; . Out Status = &amp;lt;P&amp;gt;
240418 06:39:59   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;UVW024041800194GN00013-DREn0000cA&amp;gt; . In  Status = &amp;lt;H&amp;gt;
240418 06:39:59   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00013-DREn0000cA - AH sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:59   3543   testput1:  &amp;lt;=== TRN@Al9: UVW024041800194GN00013-DREn0000cA - AH. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:59   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00007-DREn00006A - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:59   3543   testput1:  &amp;lt;=== TRN@Al7: UVW024041800194GN00007-DREn00006A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:59   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00010-DREn00009A - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:59   3543   testput1:  &amp;lt;=== TRN@Al4: UVW024041800194GN00010-DREn00009A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00008-DREn00007A - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al3: UVW024041800194GN00008-DREn00007A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00006-DREn00005A - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al1: UVW024041800194GN00006-DREn00005A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00011-DREn0000aA - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al11: UVW024041800194GN00011-DREn0000aA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;UVW024041800194GN00002-DREn00001A&amp;gt; . Out Status = &amp;lt;O&amp;gt;
240418 06:39:58   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;UVW024041800194GN00002-DREn00001A&amp;gt; . In  Status = &amp;lt;H&amp;gt;
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00002-DREn00001A - AH sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al10: UVW024041800194GN00002-DREn00001A - AH. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00012-DREn0000bA - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al8: UVW024041800194GN00012-DREn0000bA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00003-DREn00002A - AP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al14: UVW024041800194GN00003-DREn00002A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00001 - MP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  SendResponseToHost : Sending response to the Host
240418 06:39:58   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;UVW024041800194GN00001-DREn00000A&amp;gt; . Out Status = &amp;lt;P&amp;gt;
240418 06:39:58   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;UVW024041800194GN00001-DREn00000A&amp;gt; . In  Status = &amp;lt;H&amp;gt;
240418 06:39:58   3543   testput1:  ---&amp;gt; TRN:  UVW024041800194GN00001-DREn00000A - AH sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:39:58   3543   testput1:  &amp;lt;=== TRN@Al13: UVW024041800194GN00001-DREn00000A - AH. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:46   3543   testput1:  &amp;lt;=== TRN@Al8: 34e4c77406e647d29859a7c3e0077cab1 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:46   3543   testput1:  ---&amp;gt; TRN:  34e4c77406e647d29859a7c3e0077cab1 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:37:40   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;MNCDBC2024041804991213-DREg0000aA&amp;gt; . Out Status = &amp;lt; &amp;gt;
240418 06:37:40   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;MNCDBC2024041804991213-DREg0000aA&amp;gt; . In  Status = &amp;lt;P&amp;gt;
240418 06:37:40   3543   testput1:  ---&amp;gt; TRN:  MNCDBC2024041804991213-DREg0000aA - MP sent to [TEST.SND.TO.CPC@QM.PQRS103].
240418 06:37:40   3543   testput1:  &amp;lt;=== TRN@mmicntl: MNCDBC2024041804991213-DREg0000aA - MP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:28   3543   testput1:  ---&amp;gt; TRN:  17bd221de8f14fd09439fc2bb9564bed1 - AP sent to [TEST.SND.TO.ABC.PQRST.Q1@QM.PQRS102].
240418 06:37:28   3543   testput1:  &amp;lt;=== TRN@Al9: 17bd221de8f14fd09439fc2bb9564bed1 - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:23   3543   testput1:  &amp;lt;=== TRN@mmicntl: CLG024041800098GN00001-DREh00023A - MP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:23   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;CLG024041800098GN00001-DREh00023A&amp;gt; . Out Status = &amp;lt; &amp;gt;
240418 06:37:23   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;CLG024041800098GN00001-DREh00023A&amp;gt; . In  Status = &amp;lt;P&amp;gt;
240418 06:37:23   3543   testput1:  ---&amp;gt; TRN:  CLG024041800098GN00001-DREh00023A - MP sent to [TEST.SND.TO.CLH@QM.PQRS103].
240418 06:37:17   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00077-DREl0004cA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:17   3543   testput1:  &amp;lt;=== TRN@Al2: MNO24041800065GS00077-DREl0004cA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:17   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00079-DREl0004eA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:17   3543   testput1:  &amp;lt;=== TRN@Al5: MNO24041800065GS00079-DREl0004eA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:16   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00081-DREl00050A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:16   3543   testput1:  &amp;lt;=== TRN@Al1: MNO24041800065GS00081-DREl00050A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:16   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00075-DREl0004aA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:15   3543   testput1:  &amp;lt;=== TRN@Al1: MNO24041800065GS00064-DREl0003fA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:15   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00063-DREl0003eA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:15   3543   testput1:  &amp;lt;=== TRN@Al13: MNO24041800065GS00063-DREl0003eA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:15   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00066-DREl00041A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:15   3543   testput1:  &amp;lt;=== TRN@Al3: MNO24041800065GS00066-DREl00041A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:15   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00058-DREl00039A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:15   3543   testput1:  &amp;lt;=== TRN@Al2: MNO24041800065GS00058-DREl00039A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:15   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00061-DREl0003cA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:15   3543   testput1:  &amp;lt;=== TRN@Al12: MNO24041800065GS00061-DREl0003cA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  &amp;lt;=== TRN@Al4: MNO24041800065GS00035-DREl00022A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00033-DREl00020A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:12   3543   testput1:  &amp;lt;=== TRN@Al5: MNO24041800065GS00033-DREl00020A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00039-DREl00026A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:12   3543   testput1:  &amp;lt;=== TRN@Al3: MNO24041800065GS00039-DREl00026A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00044-DREl0002bA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:12   3543   testput1:  &amp;lt;=== TRN@Al14: MNO24041800065GS00044-DREl0002bA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00038-DREl00025A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:12   3543   testput1:  &amp;lt;=== TRN@Al1: MNO24041800065GS00038-DREl00025A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:12   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00036-DREl00023A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al9: MNO24041800065GS00026-DREl00019A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00019-DREl00012A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al1: MNO24041800065GS00019-DREl00012A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00025-DREl00018A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al5: MNO24041800065GS00025-DREl00018A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00016-DREl0000fA - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al4: MNO24041800065GS00016-DREl0000fA - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1: vlog: Current log size is 3497994 bytes
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00024-DREl00017A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al3: MNO24041800065GS00024-DREl00017A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00017-DREl00010A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al12: MNO24041800065GS00017-DREl00010A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00022-DREl00015A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al13: MNO24041800065GS00022-DREl00015A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00023 - MP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  SendResponseToHost : Sending response to the Host
240418 06:37:11   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;MNO24041800065GS00023-DREl00016A&amp;gt; . Out Status = &amp;lt;P&amp;gt;
240418 06:37:11   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;MNO24041800065GS00023-DREl00016A&amp;gt; . In  Status = &amp;lt;H&amp;gt;
240418 06:37:11   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00023-DREl00016A - AH sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:11   3543   testput1:  &amp;lt;=== TRN@Al10: MNO24041800065GS00023-DREl00016A - AH. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:09   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00007-DREl00006A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:09   3543   testput1:  &amp;lt;=== TRN@Al14: MNO24041800065GS00007-DREl00006A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:09   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00004-DREl00003A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:37:09   3543   testput1:  &amp;lt;=== TRN@Al8: MNO24041800065GS00004-DREl00003A - AP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.
240418 06:37:09   3543   testput1:  ---&amp;gt; TRN:  MNO24041800065GS00001-DREl00000A - AP sent to [TEST.SND.TO.XYZ@QM.PQRS103].
240418 06:35:10   3543   testput1: HS135255 InvokeIDRModule: &amp;lt;&amp;lt; IDR TRN &amp;lt;UVW024041800193GN00003-DREh0002dA&amp;gt; . Out Status = &amp;lt; &amp;gt;
240418 06:35:10   3543   testput1: HS135254 InvokeIDRModule: &amp;gt;&amp;gt; IDR TRN &amp;lt;UVW024041800193GN00003-DREh0002dA&amp;gt; . In  Status = &amp;lt;P&amp;gt;
240418 06:35:10   3543   testput1:  ---&amp;gt; TRN:  UVW024041800193GN00003-DREh0002dA - MP sent to [TEST.SND.TO.PQR@QM.PQRS103].
240418 06:35:10   3543   testput1:  &amp;lt;=== TRN@mmicntl: UVW024041800193GN00003-DREh0002dA - MP. DestHost=[MQ] from RESPONSE_Q1=instance_abc.RS1.&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684622#M233692</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-18T11:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684632#M233697</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263242"&gt;@dtburrows3&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;- Kindly help&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 13:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684632#M233697</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-18T13:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684664#M233710</link>
      <description>&lt;P&gt;Thanks for providing some example events in a code block - very informative.&lt;/P&gt;&lt;P&gt;The main issue with your request is that you haven't explained how the events are to be correlated between the two sources and how you would like to count them to give the desired result.&lt;/P&gt;&lt;P&gt;Also, it appears the your search for the second source is not quite right (unless there are other events which match the search criteria that you have shared, e.g. "&amp;lt;---" should be "&amp;lt;===" in the search?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684664#M233710</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-18T14:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684743#M233727</link>
      <description>&lt;P&gt;Thank you for your kind response &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I have made the correction in the 2nd query: "&amp;lt;===" was referring from a different log event.&lt;BR /&gt;Updated query:&amp;nbsp; source=/applications/test/*instance_xyz* ("&amp;lt;--- TRN:" OR "---&amp;gt; TRN:" OR "AP sent to" OR "AH sent to" OR "MP sent to")&lt;/P&gt;&lt;P&gt;Refer below inline response to your question:&lt;/P&gt;&lt;P&gt;The main issue with your request is that you haven't explained how the events are to be correlated between the two sources and how you would like to count them to give the desired result.&lt;/P&gt;&lt;P&gt;Answer:&lt;BR /&gt;There are basically 2 log files.&lt;BR /&gt;"testget.log" using search criteria as "&amp;lt;--- TRN:" and Priority field information.&lt;BR /&gt;"testput.log" using search criteria as&amp;nbsp;"---&amp;gt; TRN:" OR "AP sent to" OR "AH sent to" OR "MP sent to"&lt;BR /&gt;I need help to co-relate these 2 logs based on TRN. And final count I need to get it using TRN and TestMQ.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select: Low, Medium, High (From the Dashboard dropdown)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Output Expected:&lt;BR /&gt;TestMQ| Low-Testget | Low-Testput | Low-AP | Low-AH | Low-MP | Low-Pending&lt;BR /&gt;TestMQ | Medium-Testget | Medium-Testput | Medium-AP | Medium-AH | Medium-MP | Medium-Pending&lt;BR /&gt;TestMQ | High-Testget | High-Testput | High-AP | High-AH | High-MP | High-Pending&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 05:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684743#M233727</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-19T05:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684750#M233730</link>
      <description>&lt;P&gt;Are there lines where &lt;SPAN&gt;"AP sent to" or "AH sent to" or "MP sent to" exist in events without&amp;nbsp;"---&amp;gt; TRN:" also being presents?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Similarly, are there events where&amp;nbsp;"---&amp;gt; TRN:" exists and one of "AP sent to" or "AH sent to" or "MP sent to" does not exists?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please can you explain the significance of the dropdown and how it determines which events are counted?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 09:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684750#M233730</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-19T09:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684757#M233731</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;- Refer the below comments inline:&lt;BR /&gt;&lt;BR /&gt;Are there lines where&amp;nbsp;"AP sent to" or "AH sent to" or "MP sent to" exist in events without&amp;nbsp;"---&amp;gt; TRN:" also being presents? &lt;EM&gt;-- No.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"AP sent to" or "AH sent to" or "MP sent to" events always exist with&amp;nbsp;"---&amp;gt; TRN:"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Similarly, are there events where&amp;nbsp;"---&amp;gt; TRN:" exists and one of "AP sent to" or "AH sent to" or "MP sent to" does not exists? &lt;EM&gt;-- No.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"---&amp;gt; TRN:"&amp;nbsp;events always exist with&amp;nbsp;"AP sent to" or "AH sent to" or "MP sent to"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Please can you explain the significance of the dropdown and how it determines which events are counted?&lt;BR /&gt;&amp;gt; &lt;EM&gt;This dropdown is to make the Dashboard looks simpler. That is based on the Priority of Low, Medium or High will show the Transaction Pending volume.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Or in case, if you have other idea to handle the same - kindly suggest the same.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 10:55:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684757#M233731</guid>
      <dc:creator>shashankk</dc:creator>
      <dc:date>2024-04-19T10:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two logs to get the desired Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684790#M233737</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search ("&amp;lt;--- TRN:" OR "---&amp;gt; TRN:" OR "===&amp;gt; TRN@")
| eval field=split(source,"/")
| eval Instance=mvindex(field,4)
| rex "(?&amp;lt;direction&amp;gt;[&amp;lt;\-&amp;gt;]+) TRN[^:]*:\s+(?&amp;lt;TRN&amp;gt;\S+)"
| rex " ===&amp;gt;.+\[Priority=(?&amp;lt;Priority&amp;gt;\w+)"
| rex "(?&amp;lt;App&amp;gt;\w+) sent to"
| eval get=if(direction="&amp;lt;---","get",null())
| eval put=if(direction="---&amp;gt;","put",null())
| stats values(get) as get values(put) as put values(Priority) as Priority values(App) as App by TRN Instance
| where Priority="$token$"
| chart count(get) as Testget count(put) as Testput count(eval(App=="AP")) as AP count(eval(App=="AH")) as AH count(eval(App="MP")) as MP by Instance
| eval Pending = Testget - (AP + AH)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:53:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-logs-to-get-the-desired-Dashboard/m-p/684790#M233737</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-19T15:53:06Z</dc:date>
    </item>
  </channel>
</rss>

