Knowledge Management

Sharing a Dashboard securely?

sbgoldberg13
Explorer

Hoping this isn't too basic of a question...

How can I share a dashboard without user seeing apps, messages, settings, activity across the top. The dashboard is a search, and users in the role have only search, rtsearch, and rest_get_properties capabilities.

We'd prefer users in that role don't see the actual search app but especially not the tabs across the top mentioned above and here...

sbgoldberg13_0-1619097749032.png

Thanks in advance.

 

 

Labels (2)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Dashboards and forms have the same attributes.  There's an example in the doc, but it's easy to miss.

<form hideChrome="true">
...
</form>
---
If this reply helps you, an upvote would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Add hideChrome="true" to the dashboard element.  

<dashboard hideChrome="true">
...

See https://docs.splunk.com/Documentation/Splunk/8.1.3/Viz/PanelreferenceforSimplifiedXML#dashboard_or_f...for other options.

---
If this reply helps you, an upvote would be appreciated.
0 Karma

sbgoldberg13
Explorer

Hi @richgalloway Rich.  So the dashboard is actually a form...  I'm not an XML guy so I keep getting various errors.  Where and how do I insert the hideChrome="true" attribute?  Here's a snippet of the form.  THANKS!

<form theme="dark">
<label>Steve - AD User Logon Failures Clone</label>
<description>Gets logon failure reasons for AD users</description>
<fieldset submitButton="true" autoRun="true">
<input type="text" token="user" searchWhenChanged="false">
<label>Logon Account Name</label>
<default></default>
<initialValue></initialValue>
</input>
<input type="time" token="timeRange" searchWhenChanged="false">
<label>Time Range</label>
...

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Dashboards and forms have the same attributes.  There's an example in the doc, but it's easy to miss.

<form hideChrome="true">
...
</form>
---
If this reply helps you, an upvote would be appreciated.

View solution in original post

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!