Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Handling splunk dashboard token

$
0
0
Hi All, I have a dashboard which contains 2 inputs(both are text fields ).But the user can give the values in both the text fields or he can give only in one of the text fields leaving the other one blank(but the query in the panel doesn't work if any of the token is null) So when he gives the input in first field the second should be * and vice versa. But i do want to show the * in the text box by setting up it in the default value Or how can i ignore the second token(assuming nothing is provided) in the panel search query so that it can generate the results based on one token Sample query in the panel : **index=abc event=$token1$ agent=$token2$ | table action object** Can someone help me on how to handle this situation. Thank you in advance

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>