Hi All.
I have the two IP source address as below on the screen
Can I assign active parameter as source address to text ?.
for example :
source address 10.9.62.68:5500 displayed as " MAIN " in text
source address 10.9.62.84:5500 displayed as " BACKUP " in text
Simply, the active parameter "source address" changes to text depending on whether there is one source or the second one
I have a start for displaying the active "source address" parameter and how to change it to display the assigned text in shape data ?
Big thanks for help.
Br.
Jarek
Let me first try to rephrase the question and then answer it.
How can I configure DataMiner Cube to show the text ‘MAIN’ when the source address is 10.9.62.68:5500 and ‘BACKUP’ when it is 10.9.62.84:5500 in the shape data?
If that is indeed the question, the answer lies in using regexreplace. That way you can match a regex that contains the right IP address against the label you want to show.
e.g. [regexreplace:.*68.*,[regexreplace:.*84.*,[param:NewTec34,23406,TSoIP1],BACKUP],MAIN]
Hi Toon.
Where should I set this rule as below in shape data :
[regexreplace:.*68.*,[regexreplace:.*84.*,[param:NewTec34,23406,TSoIP1],BACKUP],MAIN]Does in the text instead of an * ?
Big thanks for answer.
Br.
Jarek
Indeed. placeholders always get replaced by text, whether in the shape text or shape data. So if you want to see it displayed on the shape, the text is where to place it.
Hi Toon.
Where should I set this rule as below in shape data ?
Please see inquiry below
Br.
Jarek