<?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 generate a search that will list events together that have no common field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278071#M83924</link>
    <description>&lt;P&gt;@cmo87 - Did the answer provided by somesoni2 help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 02:58:51 GMT</pubDate>
    <dc:creator>aaraneta_splunk</dc:creator>
    <dc:date>2017-02-24T02:58:51Z</dc:date>
    <item>
      <title>How to generate a search that will list events together that have no common field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278068#M83921</link>
      <description>&lt;P&gt;I have three different events that compose a single email transaction that I need to list together. The problem is that they don't have a single field in common across all three events.&lt;/P&gt;

&lt;P&gt;In eventA I have message_id and postfix_queue_id.&lt;BR /&gt;
In eventB I have postfix_queue_id and PMX_queue_ID.&lt;BR /&gt;
In eventC I have just the PMX_queue_ID.&lt;/P&gt;

&lt;P&gt;I feel like this should be a pretty simple search string, but I can't seem to get the syntax to spit out the results I want.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:44:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278068#M83921</guid>
      <dc:creator>cmo87</dc:creator>
      <dc:date>2020-09-29T12:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will list events together that have no common field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278069#M83922</link>
      <description>&lt;P&gt;Give this a try. This will add all three fields to all events (message_id, postfix_queue_id and PMX_queue_ID).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(base search eventA) OR (base search eventB) OR  (base search eventC)
| eventstats values(postfix_queue_id) as temp by PMX_queue_ID | eval postfix_queue_id=coalesce(postfix_queue_id,temp)
| eventstats values(PMX_queue_ID) as temp by postfix_queue_id| eval PMX_queue_ID =coalesce(PMX_queue_ID ,temp) 
| eventstats values(message_id ) as temp by postfix_queue_id PMX_queue_ID | eval message_id =coalesce(message_id ,temp) 
| fields - temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After that you can add appropriate command per your requirements. (transaction, stats, timechart etc)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278069#M83922</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T12:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will list events together that have no common field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278070#M83923</link>
      <description>&lt;P&gt;Sweet.  That method is going in my toolbox.  &lt;/P&gt;

&lt;P&gt;This splunk / noSQL idea of just throwing everything in the same pot and then stirring until it unmixes itself.  Brilliant.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 21:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278070#M83923</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-03T21:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will list events together that have no common field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278071#M83924</link>
      <description>&lt;P&gt;@cmo87 - Did the answer provided by somesoni2 help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 02:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-list-events-together-that/m-p/278071#M83924</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-02-24T02:58:51Z</dc:date>
    </item>
  </channel>
</rss>

