A. Create an HTML panel using tokens to verify that they are set.
B. Run the | previous_searches command to your SPL queries.
C. Go to the Troubleshooting dashboard of the Searching and Reporting app.
D. Delete the dashboard and start over.
Explanation:
When troubleshooting dashboards in Splunk, it's essential to verify that tokens are being set and passed correctly, especially when using dynamic inputs. Creating an HTML panel that displays token values can help confirm that tokens are populated as expected.
For example, you can add a panel with the following Simple XML to display token values:
xml
Copy
<panel>
<html>
<p>Token value: $your_token$</p>
</html>
</panel>
This approach allows you to see the current value of your_token directly on the dashboard, aiding in debugging issues related to token usage.
Reference: Master Splunk Dashboards: Expert Guide to Troubleshooting Tokens!