<?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 dynamic lookup based upon dynamic  token in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129277#M35139</link>
    <description>&lt;P&gt;When my users log into my system they are identified with a token number that follows all of their activity going forward during that session.&lt;/P&gt;

&lt;P&gt;What I want to do is say login=&lt;A href="mailto:john.smith@hostname.com"&gt;john.smith@hostname.com&lt;/A&gt; and have it track all the log entries that have the corresponding token. (-459867834847833)&lt;/P&gt;

&lt;P&gt;Each time a user log's in, they get a new token.&lt;/P&gt;

&lt;P&gt;Suggestions?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2014 14:04:40 GMT</pubDate>
    <dc:creator>tyronetv</dc:creator>
    <dc:date>2014-01-29T14:04:40Z</dc:date>
    <item>
      <title>dynamic lookup based upon dynamic  token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129277#M35139</link>
      <description>&lt;P&gt;When my users log into my system they are identified with a token number that follows all of their activity going forward during that session.&lt;/P&gt;

&lt;P&gt;What I want to do is say login=&lt;A href="mailto:john.smith@hostname.com"&gt;john.smith@hostname.com&lt;/A&gt; and have it track all the log entries that have the corresponding token. (-459867834847833)&lt;/P&gt;

&lt;P&gt;Each time a user log's in, they get a new token.&lt;/P&gt;

&lt;P&gt;Suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 14:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129277#M35139</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2014-01-29T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic lookup based upon dynamic  token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129278#M35140</link>
      <description>&lt;P&gt;The challenge here I guess is that if you filter by "login=&lt;A href="mailto:john.smith@hostname.com"&gt;john.smith@hostname.com&lt;/A&gt;" you will get the token, BUT you filter out the other events that have the token but not the login info. A way of solving this would be to run this filter in a subsearch that emits all corresponding tokens for a certain login, and the outer search then grabs all events with these tokens. Finally use &lt;CODE&gt;transaction&lt;/CODE&gt; for tying sessions with the same token value together. Assuming you have tokens extracted into a field called &lt;CODE&gt;token&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* [search login=john.smith@hostname.com | fields token] | transaction token
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129278#M35140</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-01-29T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic lookup based upon dynamic  token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129279#M35141</link>
      <description>&lt;P&gt;I do something today that matches this and it works just fine. What I want is something I can put in props/transforms and allow other users to run the searches without teaching them this level of syntax.&lt;/P&gt;

&lt;P&gt;I.e., just teach the support guy to type 'login = ??' &lt;/P&gt;

&lt;P&gt;The system records the login ID only once, on the entry wherein the token is assigned.  From that point forward, every log entry references the token only.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129279#M35141</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2014-01-29T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic lookup based upon dynamic  token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129280#M35142</link>
      <description>&lt;P&gt;Right, so wouldn't this be solved by actually using this search but wrapping it inside some kind of form search view that lets users enter the login without having to worry about what goes on behind the scenes?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:55:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/dynamic-lookup-based-upon-dynamic-token/m-p/129280#M35142</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-01-29T15:55:58Z</dc:date>
    </item>
  </channel>
</rss>

