Dashboards & Visualizations

Dropdow populating, but inactive

norbertt911
Path Finder

Hi,

I have a Dasboard for user activity and I would like to add usernames with a dropdown input. 

<fieldset submitButton="true" autoRun="false">
<input type="dropdown" token="user">
<label>Username / Identity</label>
<search>
<query>`umbrella` | stats count by identities | sort + identities | fields - count</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>user</fieldForLabel>
<fieldForValue>user</fieldForValue>
</input>

Search results with the user's list.  Rest of the boards  are using  `umbrella` identities="$user$" ... searches (if I add a text input and username manually all working fine)

But... The dropdow input still appears inactive - greyed out and mouse over show red crossed out circle 😞

What I missed? (In other app same thing working fine, naturally I'm admin in this app, so I doubt it's permission)

 

Labels (2)
0 Karma
1 Solution

renjith_nair
Legend

Change the fieldForLabel and fieldForValue to identities  from user

or  rename the identities to user in the populating search

 

 

<fieldset submitButton="true" autoRun="false">
<input type="dropdown" token="user">
<label>Username / Identity</label>
<search>
<query>`umbrella` | stats count by identities | sort + identities | fields - count</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>identities</fieldForLabel>
<fieldForValue>identities</fieldForValue>
</input>

 

 

PS: Please use code samples (</>) to paste xml snippets for better readability, edited for you now

Happy Splunking!

View solution in original post

norbertt911
Path Finder

Thank you! #imsonoob 🙂

0 Karma

renjith_nair
Legend

Change the fieldForLabel and fieldForValue to identities  from user

or  rename the identities to user in the populating search

 

 

<fieldset submitButton="true" autoRun="false">
<input type="dropdown" token="user">
<label>Username / Identity</label>
<search>
<query>`umbrella` | stats count by identities | sort + identities | fields - count</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<fieldForLabel>identities</fieldForLabel>
<fieldForValue>identities</fieldForValue>
</input>

 

 

PS: Please use code samples (</>) to paste xml snippets for better readability, edited for you now

Happy Splunking!
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...