Dashboards & Visualizations

Dashboards not updating as I change dropdown input

sarahw3
Explorer

I have two dropdown menus, one for City and one for Camera_Name. Since our camera names changed a year ago, I used event types to tag the data with the name of the camera to make it so I was only using one name for each camera. I have a dashboard with the following: host="splunk" sourcetype="csv" $State$ tag=$Camera$ |eval Status=upper(Status) |stats count by Status. When I change the Camera dropdown menu that has the search string of sourcetype="csv" State="$State$"|stats count by tag it does not change the panels/graphs on the dashboard. If I open the panel in search, the statistics are different and what I want, but that is not shown on the dashboard. How can I get the dashboard to update?

I am very new to Splunk! Someone help me!!!

0 Karma
1 Solution

cmerriman
Super Champion

can you show your xml (stripped of any confidential information)?
is your field for label and field for value in your Camera_Name dropdown tag and the token Camera ? Is the Search when Changed=t or do you need to have a submit button?

View solution in original post

cmerriman
Super Champion

can you show your xml (stripped of any confidential information)?
is your field for label and field for value in your Camera_Name dropdown tag and the token Camera ? Is the Search when Changed=t or do you need to have a submit button?

sarahw3
Explorer

I do not have a submit button but I think that would be very useful!

0 Karma

sarahw3
Explorer

I added a submit button and now everything is working!!! Thanks for sparking the idea!

0 Karma

woodcock
Esteemed Legend

Don't forget to click Accept to close the question.

0 Karma

cmerriman
Super Champion

alright awesome! sometimes that's all it takes!

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...