<?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: Struggling with a multi-log transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301569#M90805</link>
    <description>&lt;P&gt;Awesome! Have a great weekend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 21:01:35 GMT</pubDate>
    <dc:creator>coltwanger</dc:creator>
    <dc:date>2017-07-07T21:01:35Z</dc:date>
    <item>
      <title>Struggling with a multi-log transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301565#M90801</link>
      <description>&lt;P&gt;I'm trying to establish a transaction.  The information is in two different indexes, different sourcetypes, etc.  Basically what I've got in index 1 is a bunch of XML-formatted Windows event log data...I'm able to successfully do the necessary search, run an spath on it to extract the field/value I need (a domain\username), etc.  The other index contains pretty basic log data, including a field named "SlotID" that contains data formatted as domain\username.  I'm also able to run a search successfully to grab that data.  This is what the beginning of my search looks like:&lt;/P&gt;

&lt;P&gt;host= (index=main sourcetype= Message=) OR (index=wineventlog EventID=800) | spath output=user path=Event.UserData.EventXML.param1 | eval lcuser=lower(user)&lt;/P&gt;

&lt;P&gt;At that point if I go look at my search results I have all the data I need to get the transaction duration (which starts with the EventID=800 and ends with the log message).  My problem is the common value resides in two differently-named fields (lcuser and SlotID).  I have tried rename...but end up with only one event type "winning" (whichever one I rename last) and containing the new/renamed field).  Same deal with eval to a new field...the last eval wins and the first eval no longer contains that field.&lt;/P&gt;

&lt;P&gt;I'm lost and really hoping someone can lend a hand...been beating my head against the wall on this for the better part of 4 hours.&lt;/P&gt;

&lt;P&gt;TIA!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 19:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301565#M90801</guid>
      <dc:creator>mgagliardi</dc:creator>
      <dc:date>2017-07-07T19:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a multi-log transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301566#M90802</link>
      <description>&lt;P&gt;Have you tried coalesce?&lt;/P&gt;

&lt;P&gt;| eval combined=coalesce(lcuser, SlotID)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301566#M90802</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2017-07-07T20:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a multi-log transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301567#M90803</link>
      <description>&lt;P&gt;Dude, you're a damn witch! That's got it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Thanks so much, you just ended my week on a positive note.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:47:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301567#M90803</guid>
      <dc:creator>mgagliardi</dc:creator>
      <dc:date>2017-07-07T20:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a multi-log transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301568#M90804</link>
      <description>&lt;P&gt;coltwanger's response was the (or at least a) correct answer, it worked for my use case.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:59:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301568#M90804</guid>
      <dc:creator>mgagliardi</dc:creator>
      <dc:date>2017-07-07T20:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with a multi-log transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301569#M90805</link>
      <description>&lt;P&gt;Awesome! Have a great weekend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Struggling-with-a-multi-log-transaction/m-p/301569#M90805</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2017-07-07T21:01:35Z</dc:date>
    </item>
  </channel>
</rss>

