Dashboards & Visualizations

User Login Automatically Shows Owned Data

ghshort
New Member

Hi!

I have a project to enhance a dashboard for a client, and wanted to know how best to start. I need to provide a function in the dashboard that will automatically show datasets that are owned by a particular user when they log in to use that dashboard. To clarify- the main dashboard is used by a variety of people, and I'm wanting to figure out if there's a way to program the dashboard to automatically display datasets owned by any user specific that is logged into and using the dashboard. I feel like it's possible but have no idea of where to start. Any advice would be greatly appreciated, thank you!

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try adding $env:user$ to your query to get the user's name.

---
If this reply helps you, Karma would be appreciated.
0 Karma
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 ...