<?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: Unauthenticated dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125673#M7394</link>
    <description>&lt;P&gt;Did anybody even try this?  I am using v6.1.2 and when I got to my django URL (with "@login_required" removed) it does the same as every other Splunk URL: It prompts me to login!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2015 17:35:01 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-04-13T17:35:01Z</dc:date>
    <item>
      <title>Unauthenticated dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125669#M7390</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I don’t know about you, but every so often I get the request for a dashboard that does not require a user to authenticate and/or timeout.  Prior to 6.x the time out issue could be solved using jscript.  Still execs/management do not like to login (&lt;STRONG&gt;It should be like magic doesn’t the system know who I am!&lt;/STRONG&gt; Joking just a little). Has anyone found a solution to this yet.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2014 05:22:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125669#M7390</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2014-01-25T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthenticated dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125670#M7391</link>
      <description>&lt;P&gt;The easiest way I found was to build django app. where I did not want users to authenticate I created a new view in view.py and remove the @login_required decorator rendered it to a template.   I realized this that Splunk use the django framework and should I bide by the same rule and conventions. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; Create your django app&lt;/LI&gt;
&lt;LI&gt; Create a template &amp;lt;yourtemplate&amp;gt;.html in $SPLUNK_HOME/&amp;lt;yourapp&amp;gt;/django/&amp;lt;yourapp&amp;gt;/template/&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;New create a new function in views.py located $SPLUNK_HOME/&amp;lt;yourapp&amp;gt;/django/&amp;lt;yourapp&amp;gt;/&lt;BR /&gt;
&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
# Before&lt;BR /&gt;
@render_to('&amp;lt;yourapp&amp;gt;: &amp;lt;yourtemplate&amp;gt;.html')&lt;BR /&gt;
@login_required&lt;BR /&gt;
def &amp;lt;yourtemplate&amp;gt; (request):&lt;BR /&gt;
return {&lt;BR /&gt;
    "message": "Hello World from &amp;lt;yourapp&amp;gt;!",&lt;BR /&gt;
    "app_name": "&amp;lt;yourapp&amp;gt; :"&lt;BR /&gt;
}&lt;BR /&gt;
# After&lt;BR /&gt;
@render_to('&amp;lt;yourapp&amp;gt;: &amp;lt;yourtemplate&amp;gt;.html')&lt;BR /&gt;
def &amp;lt;yourtemplate&amp;gt; (request):&lt;BR /&gt;
return {&lt;BR /&gt;
    "message": "Hello World from &amp;lt;yourapp&amp;gt;!",&lt;BR /&gt;
    "app_name": "&amp;lt;yourapp&amp;gt; :"&lt;BR /&gt;
}&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Don’t forget to add the new template to urls.py&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 26 Jan 2014 02:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125670#M7391</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2014-01-26T02:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthenticated dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125671#M7392</link>
      <description>&lt;P&gt;How would you go about running search jobs on this unauthenticated dashboard? I know I was trying it out a while ago and had trouble getting searches to run. I suppose you need to supply a user that can run the searches, but is an unauthenticated session allowed to do that?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 08:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125671#M7392</guid>
      <dc:creator>laserval</dc:creator>
      <dc:date>2014-02-04T08:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthenticated dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125672#M7393</link>
      <description>&lt;P&gt;You could use the Jscript SDK and embed your search.  Also you might call a saved search owned by a user.  Your best answer is to use the jscript or python sdk and which can uses embedded credentials.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2014 02:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125672#M7393</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2014-02-09T02:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthenticated dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125673#M7394</link>
      <description>&lt;P&gt;Did anybody even try this?  I am using v6.1.2 and when I got to my django URL (with "@login_required" removed) it does the same as every other Splunk URL: It prompts me to login!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 17:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unauthenticated-dashboard/m-p/125673#M7394</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-04-13T17:35:01Z</dc:date>
    </item>
  </channel>
</rss>

