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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...