1 drop down I get to select server (Token $server$)
2nd drop down to help filter the dashboard into individual applications number I have token($appnumber$)
the host usually appears as host = servername-appnumber
I tried this:
host="$server$-$appnumber$"
what am I doing wrong?
and advice or help would be appreciated
Hi @Cheng2Ready ,
I agree with @isoutamo , to help you s mandatory your code.
Anyway, the eval command that you need to create the host variable value from the two tokens, has a different syntax:
| eval host=$server$."-".$appnumber$
in addition remember that the "-" char in Splunk means minus, so your eval understand that it must subtract $appnumber$ from $server$.
Ciao.
Giuseppe
Hi @Cheng2Ready ,
I agree with @isoutamo , to help you s mandatory your code.
Anyway, the eval command that you need to create the host variable value from the two tokens, has a different syntax:
| eval host=$server$."-".$appnumber$
in addition remember that the "-" char in Splunk means minus, so your eval understand that it must subtract $appnumber$ from $server$.
Ciao.
Giuseppe