<?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: Correlate different events with a common value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531668#M150165</link>
    <description>&lt;P&gt;yep sure, add all your search terms before the stats.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 10:18:58 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2020-12-02T10:18:58Z</dc:date>
    <item>
      <title>Correlate different events with a common value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531657#M150158</link>
      <description>&lt;P&gt;Hi all, I'm a new Splunk user and I would like to have some help from you.&lt;/P&gt;&lt;P&gt;I have two query:&lt;/P&gt;&lt;P&gt;First query:&lt;/P&gt;&lt;P&gt;index=osb source=/applog/MtRot/ROT/proxy.log 3548 PS_WS_OM_NOTIFY&lt;BR /&gt;| xmlkv maxinputs=10000&lt;BR /&gt;| table OrderID transactionID StatusCode StatusDescription&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Result:&lt;/P&gt;&lt;P&gt;OrderID transactionID StatusCode StatusDescription&amp;nbsp;&lt;BR /&gt;3548&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;98f02a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Completed&lt;/P&gt;&lt;P&gt;Second query (executed after the first query result):&lt;/P&gt;&lt;P&gt;index=osb source=/applog/MtRot/ROT/proxy.log PS_WS_OM_NOTIFY 98f02a(from the first query)&lt;BR /&gt;| xmlkv maxinputs=10000&lt;BR /&gt;| table transactionID ResultCode ResultDescription&lt;/P&gt;&lt;P&gt;The two query have the "transactionID" as a common value, so I'd like to create a unique query in order to show one raw with all these field&lt;/P&gt;&lt;P&gt;table OrderID transactionID StatusCode StatusDescription&amp;nbsp;ResultCode ResultDescription&lt;/P&gt;&lt;P&gt;Any suggestion? Thank you very much&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 08:29:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531657#M150158</guid>
      <dc:creator>Burton_snow82</dc:creator>
      <dc:date>2020-12-02T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate different events with a common value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531662#M150161</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=osb source=/applog/MtRot/ROT/proxy.log PS_WS_OM_NOTIFY
|stats values(OrderID) as OrderID ,values(StatusCode ) as StatusCode ,values(StatusDescription ) as StatusDescription ,values(ResultCode ) as ResultCode ,values(ResultDescription) as ResultDescription by transactionID &lt;/LI-CODE&gt;&lt;P&gt;If you want the latest data only, then you may replace "values" with "latest"&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 08:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531662#M150161</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-02T08:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate different events with a common value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531664#M150162</link>
      <description>&lt;P&gt;Thank you Renjith for your support, I tried with your query but it doesn't show any result. Maybe because&amp;nbsp; the query need the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;xmlkv maxinputs=10000 ? Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 09:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531664#M150162</guid>
      <dc:creator>Burton_snow82</dc:creator>
      <dc:date>2020-12-02T09:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate different events with a common value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531668#M150165</link>
      <description>&lt;P&gt;yep sure, add all your search terms before the stats.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 10:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531668#M150165</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-02T10:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate different events with a common value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531669#M150166</link>
      <description>&lt;P&gt;Thank you again, now it works!!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 10:37:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-different-events-with-a-common-value/m-p/531669#M150166</guid>
      <dc:creator>Burton_snow82</dc:creator>
      <dc:date>2020-12-02T10:37:58Z</dc:date>
    </item>
  </channel>
</rss>

