Forum Discussion
Thank you so much, the #2 option sounds ideal but I'm not sure how to reference the ##WILDALIAS## token within the new datapoint I'm trying to create. Here is how the regular datapoint looks now, that's used for all the instances on the DS. I guess I'd need to create a new, one, but have it only report data for one specific instance name. Is the Key section where I would be using the alias you mentioned?
You'd need to build a new complex datapoint, not a normal datapoint. Normal datapoints extract data from the output of the script/task. Complex datapoints evaluate normal datapoints and/or tokens. So you'd create a complex datapoint that looks something like this (YMMV):
if(and(eq(##WILDALIAS##,1234),ge(count,5)),1,0)
You might run into issues using the wildalias if it's not numeric, LM is tricky about which things the eq() function will evaluate.
Related Content
- 2 years ago