I am making a dashboard with the dropdown input called $searchCriteria$. I am trying to set the value of a search_col based on the value of the $searchCriteria$ token. I have tried the following: ...
See more...
I am making a dashboard with the dropdown input called $searchCriteria$. I am trying to set the value of a search_col based on the value of the $searchCriteria$ token. I have tried the following: | eval search_col = if($searchcriteria$ == "s_user", user, path) | eval search_col = if('$searchcriteria$' == "s_user", user, path) | eval search_col = if($searchcriteria$ == 's_user', user, path) | eval search_col = if('$searchcriteria$' == 's_user', user, path) Even tried | eval search_col = if(s_user == s_user, user, path) The value of search_col is the same as path. I have tested, and the value of the $searchcriteria$ is getting set properly. What am I doing wrong?