<?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 combine different types of events from different data sources into one event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201200#M39789</link>
    <description>&lt;P&gt;I would like to use the below transaction in Data Model&lt;BR /&gt;
|  transaction maxevents=2 keeporphans=true &lt;BR /&gt;
what is the best way to do this? &lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 05:38:09 GMT</pubDate>
    <dc:creator>pranav_agile</dc:creator>
    <dc:date>2017-09-07T05:38:09Z</dc:date>
    <item>
      <title>How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201194#M39783</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;

&lt;P&gt;I have three different data sources (so 3 different types of events)&lt;/P&gt;

&lt;P&gt;DataSource_1: Event_Number Ticket&lt;BR /&gt;
DataSource_2: Event_Number Create_Event_Date&lt;BR /&gt;
DataSource_3: Ticket Create_Ticket_Date&lt;/P&gt;

&lt;P&gt;I would like to get one event which has: Ticket Create_Ticket_date  Create_Event_Date&lt;/P&gt;

&lt;P&gt;Is it possible to build a search which shows this as one event, taking also into account possible new completely different data sources (e.g. DataSource_4)? &lt;/P&gt;

&lt;P&gt;I was trying transaction (not efficient), lookups (which I created from two different sources and use inputlookup populated to the 3rd one. In the search, there was some specification to those 3 data sources. Doing a lot of reports I would always need to take into account this part.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201194#M39783</guid>
      <dc:creator>akawacz</dc:creator>
      <dc:date>2020-09-29T07:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201195#M39784</link>
      <description>&lt;P&gt;What correlation fields do you have to link events between sources?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 23:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201195#M39784</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-27T23:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201196#M39785</link>
      <description>&lt;P&gt;You didn't mention how you tried to use transaction.  I admit it's not the most efficient thing, but I've used it on fairly large datasets well if you can limit the time and events it's operating on.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | transaction Event_Number Ticket maxspan=15m maxpause=15m maxevents=3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If speed is still a problem, you could create a Data Model containing that information and accelerate it.&lt;/P&gt;

&lt;P&gt;That does assume Event_Number and Ticket aren't equal to one another within a 15 minute period, and obviously assuming they get generated within 15 minutes of each other.  Adjust as necessary.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 02:04:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201196#M39785</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-10-28T02:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201197#M39786</link>
      <description>&lt;P&gt;just a funny thought; who about this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; base search here | eval corr_field= coalesce(Event_Number, Ticket) | stats values(*) AS * by corr_field
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Oct 2015 02:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201197#M39786</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-10-28T02:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201198#M39787</link>
      <description>&lt;P&gt;Correlation is by the same column name&lt;/P&gt;

&lt;P&gt;So DataSouce_1 Event_Number = DataSource_2 Event_Number&lt;BR /&gt;
     DataSource_1 Ticket= DataSource_3 Ticket &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201198#M39787</guid>
      <dc:creator>akawacz</dc:creator>
      <dc:date>2020-09-29T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201199#M39788</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eventstats values(Ticket) AS Ticket BY Event_Number
| eventstats values(Event_Number) AS Event_Number BY Ticket
| stats values(*) AS * by Ticket
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Oct 2015 16:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201199#M39788</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-29T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201200#M39789</link>
      <description>&lt;P&gt;I would like to use the below transaction in Data Model&lt;BR /&gt;
|  transaction maxevents=2 keeporphans=true &lt;BR /&gt;
what is the best way to do this? &lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 05:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201200#M39789</guid>
      <dc:creator>pranav_agile</dc:creator>
      <dc:date>2017-09-07T05:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201201#M39790</link>
      <description>&lt;P&gt;Avoid &lt;CODE&gt;transaction&lt;/CODE&gt; like the plague that it is.  It should only be used for transitive key mapping (e.g. some events have &lt;CODE&gt;EmployeeID&lt;/CODE&gt;, others have &lt;CODE&gt;Address&lt;/CODE&gt;, others have &lt;CODE&gt;loginID&lt;/CODE&gt; and each of this is fully unique to a single individual.  Then the best way to link is to use &lt;CODE&gt;| transaction EmployeeID Address loginID&lt;/CODE&gt;.  Otherwise do yourself a favor and do not ever use it; it does not scale.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2017 19:51:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201201#M39790</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-09T19:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine different types of events from different data sources into one event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201202#M39791</link>
      <description>&lt;P&gt;Sure, thanks Woodcock. &lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 04:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-combine-different-types-of-events-from-different-data/m-p/201202#M39791</guid>
      <dc:creator>pranav_agile</dc:creator>
      <dc:date>2017-09-12T04:18:00Z</dc:date>
    </item>
  </channel>
</rss>

