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, Karma 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, Karma 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, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...