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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

&#x1f342; Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...