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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...