<?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: whoami doesn't support external lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101119#M182811</link>
    <description>&lt;P&gt;could add a note to the top of the description or docs for this app, or remove the app entirely then?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2014 17:31:04 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2014-03-21T17:31:04Z</dc:date>
    <item>
      <title>whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101116#M182808</link>
      <description>&lt;P&gt;I have installed the app &lt;STRONG&gt;whoami&lt;/STRONG&gt;. when I use it as a command from splunkweb search, it works as expected.&lt;/P&gt;

&lt;P&gt;But when I want to use this command inside a python script which is invoked from splunkweb search (as an automated external lookup), this returns no search_user field. Moreover, if there is any CLI session on the linux server, the whoami command is returning that user than that of the splunkweb user.&lt;/P&gt;

&lt;P&gt;Please suggest if there is any way to let whoami know to exclusively retun only the splunkweb user.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 10:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101116#M182808</guid>
      <dc:creator>soe_hlawin</dc:creator>
      <dc:date>2013-10-16T10:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101117#M182809</link>
      <description>&lt;P&gt;The whoami app was written before the release of Splunk 4.3 for use in creating reports specific to current logged in user.  When that version of Splunk introduced the rest command it obviated the need for the whoami app and I quit maintaining it.  &lt;/P&gt;

&lt;P&gt;Please use the rest command in place of the whoami custom search command going forward.  &lt;/P&gt;

&lt;P&gt;One way to use it would be to add the results to each event (one of the modes supported by whoami) using a join:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | head 10 | join [ | rest splunk_server=local /services/authentication/current-context | rename username as auth_user_id | fields auth_user_id ] 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Oct 2013 15:29:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101117#M182809</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2013-10-16T15:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101118#M182810</link>
      <description>&lt;P&gt;This was just added to the rest command's example section: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rest#Examples"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rest#Examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 17:52:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101118#M182810</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2013-10-16T17:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101119#M182811</link>
      <description>&lt;P&gt;could add a note to the top of the description or docs for this app, or remove the app entirely then?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101119#M182811</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2014-03-21T17:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101120#M182812</link>
      <description>&lt;P&gt;Good point and/or request. I've just sent a note to splunkbase admin requesting app removal.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101120#M182812</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2014-03-21T17:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: whoami doesn't support external lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101121#M182813</link>
      <description>&lt;P&gt;App removed.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 18:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/whoami-doesn-t-support-external-lookup/m-p/101121#M182813</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2014-03-21T18:31:38Z</dc:date>
    </item>
  </channel>
</rss>

