<?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 additional events to an existing Transaction? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291521#M175042</link>
    <description>&lt;P&gt;I do not think anybody will be able to help unless you give us both the raw events and the search that you are using.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 18:48:28 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-03-22T18:48:28Z</dc:date>
    <item>
      <title>How to combine additional events to an existing Transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291520#M175041</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I am trying to organize various types of events into single events.&lt;BR /&gt;
Currently I have a transaction set up to capture particular types of ERRORS in our system logs.&lt;BR /&gt;
But there's additional information outside of the transaction that I want to associate with a respective transaction.&lt;BR /&gt;
To put it plainly, the layout would produce resultant events that look this:&lt;/P&gt;

&lt;P&gt;SET_RANGE1&lt;BR /&gt;
SET_RANGE2&lt;BR /&gt;
SET_RANGE3&lt;BR /&gt;
     TRANSACTION1&lt;BR /&gt;
SET_RANGE4&lt;BR /&gt;
    TRANSACTION2&lt;BR /&gt;
    TRANSACTION3&lt;BR /&gt;
    TRANSACTION4&lt;BR /&gt;
SET_RANGE5&lt;BR /&gt;
SET_RANGE6&lt;BR /&gt;
SET_RANGE7&lt;BR /&gt;
    TRANSACTION5&lt;BR /&gt;
SET_RANGE8&lt;/P&gt;

&lt;P&gt;But I want to group and associate the Transaction to the previous SET_RANGE, like this:&lt;BR /&gt;
Event1 --&amp;gt; SET_RANGE3 , TRANSACTION1&lt;BR /&gt;
Event2 --&amp;gt; SET_RANGE4 , TRANSACTION2&lt;BR /&gt;
Event3 --&amp;gt; SET_RANGE4 , TRANSACTION3&lt;BR /&gt;
Event4 --&amp;gt; SET_RANGE4 , TRANSACTION4&lt;BR /&gt;
Event5 --&amp;gt; SET_RANGE7 , TRANSACTION5&lt;/P&gt;

&lt;P&gt;As you can see, some SET_RANGE events are not needed. Most of the time, there is one SET_RANGE event that happens prior to the given Transaction Event. However, sometimes there are multiple Transaction Events associated to a single SET_RANGE event as I've tried to demonstrate.&lt;/P&gt;

&lt;P&gt;Do I need to use savedsearch somehow? Any help is much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291520#M175041</guid>
      <dc:creator>like2splunk</dc:creator>
      <dc:date>2020-09-29T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine additional events to an existing Transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291521#M175042</link>
      <description>&lt;P&gt;I do not think anybody will be able to help unless you give us both the raw events and the search that you are using.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 18:48:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291521#M175042</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-22T18:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine additional events to an existing Transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291522#M175043</link>
      <description>&lt;P&gt;I'm a little confused with your example and the meaning of set_range... Maybe sample data would help?&lt;/P&gt;

&lt;P&gt;But in my dealings with the transaction command, for my scenario, I ended up running a join command to group my data  and collected it into a summary index. I then ran the transaction within that new index. My search was: &lt;CODE&gt;index=foo | join session_id [search user=west_coast] | collect index=west_coast_users&lt;/CODE&gt; to get the specific data into the summary index and I then run &lt;CODE&gt;sourcetype=stash | transaction session_id keepevicted=1&lt;/CODE&gt;(the keepevicted=1 was specific to my needs)... In your case if set_range of data are just searched events, you could pipe that set_range of data into a summary index and run the transaction in there. BTW both JOIN and Transaction are expensive commands.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:19:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291522#M175043</guid>
      <dc:creator>rewritex</dc:creator>
      <dc:date>2020-09-29T13:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine additional events to an existing Transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291523#M175044</link>
      <description>&lt;P&gt;I have reposted my question here (changed the question a little bit):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/513490/how-to-extract-desired-information-from-transactio.html?minQuestionBodyLength=80"&gt;https://answers.splunk.com/answers/513490/how-to-extract-desired-information-from-transactio.html?minQuestionBodyLength=80&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can I close this question?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 23:35:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291523#M175044</guid>
      <dc:creator>like2splunk</dc:creator>
      <dc:date>2017-03-24T23:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine additional events to an existing Transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291524#M175045</link>
      <description>&lt;P&gt;I have reposted my question here (changed the question a little bit):&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/513490/how-to-extract-desired-information-from-transactio.html?minQuestionBodyLength=80"&gt;https://answers.splunk.com/answers/513490/how-to-extract-desired-information-from-transactio.html?minQuestionBodyLength=80&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can I close this question?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 23:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-additional-events-to-an-existing-Transaction/m-p/291524#M175045</guid>
      <dc:creator>like2splunk</dc:creator>
      <dc:date>2017-03-24T23:36:00Z</dc:date>
    </item>
  </channel>
</rss>

