<?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: Transaction endswith field breaks when I remove field from search, why? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234367#M69656</link>
    <description>&lt;P&gt;ah gotcha - I didn't read the whole question!&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 14:05:15 GMT</pubDate>
    <dc:creator>jplumsdaine22</dc:creator>
    <dc:date>2016-05-09T14:05:15Z</dc:date>
    <item>
      <title>Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234355#M69644</link>
      <description>&lt;P&gt;When I run this search, Splunk returns one item for the "transaction"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=pageactions tag=external_traffic id=***** ip=****** 
EmailAddress=******@yahoo.com
| transaction id ip endswith=(EmailAddress=******@yahoo.com) maxspan=3m maxevents=3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But if I remove the EmailAddress value from the search it returns "no results found." Why?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=pageactions tag=external_traffic id=***** ip=****** 
    | transaction id ip endswith=(EmailAddress=******@yahoo.com) maxspan=3m maxevents=3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My goal is to find the logs preceding the log with the users' email address, and I get why I'm not getting any results back. &lt;/P&gt;

&lt;P&gt;I add their email address (field, value pair) and it works, I remove it so I can see all the logs, not just the last log where their email address was passed through and it returns nothing. This doesn't make sense. &lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 23:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234355#M69644</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-06T23:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234356#M69645</link>
      <description>&lt;P&gt;what happens if you add 'emailaddress=*' to the root search?&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 01:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234356#M69645</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-07T01:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234357#M69646</link>
      <description>&lt;P&gt;that will work, but my problem is I want to see the logs before the user passed their email address through this form.&lt;/P&gt;

&lt;P&gt;So not all the logs will have that field. They'll all have an "id" and "ip" field I've defined for the transaction.&lt;/P&gt;

&lt;P&gt;I can't understand why broadening the search by taking out the email field in the root search returns no results, but adding it in provides a result.&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 17:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234357#M69646</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-07T17:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234358#M69647</link>
      <description>&lt;P&gt;If the ip and id are unique, you can remove the endswith condition.  Does that work?&lt;/P&gt;

&lt;P&gt;Then if you only want transactions where they did provide an email, you can add a '|search EmailAddress=*' after the transaction maybe. I think what's happening is related to lipsy.&lt;/P&gt;

&lt;P&gt;The @ sign is a minor segmenter in sermenters.conf and this may be causing issues in lipsy world related to how the email address field is being stored in the index.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.8/admin/Segmentersconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.8/admin/Segmentersconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 20:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234358#M69647</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-07T20:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234359#M69648</link>
      <description>&lt;P&gt;I'm specifically looking for the events prior to them submitting their email. If I don't provide an endswith clause then I don't see how I can return just the logs around that action point. For instance, someone might be browsing our web site, submit an email and keep browsing for another hour. Without an endwith clause that transaction will go on for an hour. &lt;/P&gt;

&lt;P&gt;I only care about the few events just before they submitted that email.&lt;/P&gt;

&lt;P&gt;Thanks for the info on the "@." I can't reach my splunk account on the weekend, but if that's an issue I might be able to change the field I'm using as an endpoint (maybe create a new field that's just the letters/numbers before the "@" in an email)&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2016 03:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234359#M69648</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-08T03:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234360#M69649</link>
      <description>&lt;P&gt;This might be a job for stats rather than transaction. Have you tried the following?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=pageactions tag=external_traffic id=***** ip=******  EmailAddress=******@yahoo.com | stats values(_raw)  by id,ip,_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is a handy chart on when to use each aggregation command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Search/Abouteventcorrelation"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Search/Abouteventcorrelation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 08:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234360#M69649</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-05-09T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234361#M69650</link>
      <description>&lt;P&gt;the key here is that only one event in the set of events I'm looking for has a EmailAddress field. I have records of people browsing a web site, and then at some point they submit a form with an email. &lt;/P&gt;

&lt;P&gt;I want to look at what this user did prior to submitting that form. I'm using the EmailAdress in the endswith clause to work backwords from that event to see other events. &lt;/P&gt;

&lt;P&gt;I've used the values() function for other things, but here I specifically need to see what events a user caused prior to submitting their email. &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234361#M69650</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-09T13:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234362#M69651</link>
      <description>&lt;P&gt;So does that work like you mentioned, like the example below, etc.?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; eventtype=pageactions tag=external_traffic id=***** ip=****** 
 | transaction id ip endswith=yahoo.com maxspan=3m maxevents=3
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2016 13:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234362#M69651</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-09T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234363#M69652</link>
      <description>&lt;P&gt;yes!&lt;/P&gt;

&lt;P&gt;and since there's a few different ways email can get into the logs, if I do endswith=("EmailAddress" AND "*****@yahoo.com") I get the logs I want.&lt;/P&gt;

&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:44:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234363#M69652</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-09T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234364#M69653</link>
      <description>&lt;P&gt;Awesome, then it is the segmenter '@' that is causing your pain AND you found out what I was going to say next!  Good way to work around the info given!!!&lt;/P&gt;

&lt;P&gt;So care to mark my answer as the solution?  Pretty please!!! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;  Upvotes help others find it quickly too.  Cheers &amp;amp; pleasure working with you ra01!&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234364#M69653</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-09T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234365#M69654</link>
      <description>&lt;P&gt;I don't think a comment can be marked as a solution, I looked.  You might need to paste the same in the "your answer" section at the bottom of the page.&lt;/P&gt;

&lt;P&gt;and I think i updated all your comments. &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234365#M69654</guid>
      <dc:creator>ra01</dc:creator>
      <dc:date>2016-05-09T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234366#M69655</link>
      <description>&lt;P&gt;I noticed that right after asking you to... so I converted it to an answer now.  Should be fine to mark as answer.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234366#M69655</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-09T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction endswith field breaks when I remove field from search, why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234367#M69656</link>
      <description>&lt;P&gt;ah gotcha - I didn't read the whole question!&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 14:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-endswith-field-breaks-when-I-remove-field-from/m-p/234367#M69656</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2016-05-09T14:05:15Z</dc:date>
    </item>
  </channel>
</rss>

