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 am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...