<?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: UserID variable in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235798#M45058</link>
    <description>&lt;P&gt;Thanks! Somesoni2 for your prompt reply.&lt;/P&gt;

&lt;P&gt;I should explain in more detail on my requirement, I have converted my xml based dashboard to HTML, I hide the Launcher navigation bar on the top of the dashboard and created hyperlink to the URL below, but I need to replace the  in the hyperlink to allow user to change their password:&lt;BR /&gt;
&lt;A href="https://:8000/en-US/manager/launcher/authentication/changepassword/?action=edit" target="test_blank"&gt;https://:8000/en-US/manager/launcher/authentication/changepassword/?action=edit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could you advice how to grab UserID in HTML dashboard?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Clement&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2015 07:33:50 GMT</pubDate>
    <dc:creator>clement</dc:creator>
    <dc:date>2015-09-22T07:33:50Z</dc:date>
    <item>
      <title>UserID variable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235796#M45056</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;

&lt;P&gt;I would like to parse the current Splunk login userid via the URL to the next dashboard, may I know what is the variable name?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Clement&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 03:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235796#M45056</guid>
      <dc:creator>clement</dc:creator>
      <dc:date>2015-09-21T03:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: UserID variable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235797#M45057</link>
      <description>&lt;P&gt;You can get the current logged in user by this query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/current-context | search username!="splunk-system-user"| table realname username  roles
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since this can be run in the next dashboard directly, you don't have to pass it, but again depends on what you're trying to do.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 19:56:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235797#M45057</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-21T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: UserID variable</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235798#M45058</link>
      <description>&lt;P&gt;Thanks! Somesoni2 for your prompt reply.&lt;/P&gt;

&lt;P&gt;I should explain in more detail on my requirement, I have converted my xml based dashboard to HTML, I hide the Launcher navigation bar on the top of the dashboard and created hyperlink to the URL below, but I need to replace the  in the hyperlink to allow user to change their password:&lt;BR /&gt;
&lt;A href="https://:8000/en-US/manager/launcher/authentication/changepassword/?action=edit" target="test_blank"&gt;https://:8000/en-US/manager/launcher/authentication/changepassword/?action=edit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could you advice how to grab UserID in HTML dashboard?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Clement&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 07:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/UserID-variable/m-p/235798#M45058</guid>
      <dc:creator>clement</dc:creator>
      <dc:date>2015-09-22T07:33:50Z</dc:date>
    </item>
  </channel>
</rss>

