![]() |
The content of this FAQ has been updated and migrated to the following topics in docs.itrsgroup.com. Refer to the following:We recommend that you always use the latest document version in https://docs.itrsgroup.com/ to keep you up-to-date.You can still refer to the below xml as an example: |
![]() |
The XPath to get the Sample name is: ancestor-or-self::sampler/@name This can be generalised to get the name of any element that has one, just replace sampler with whatever you need. For example, we have a KBA Set named "Sampler page". The KBA "Sampler URL" has three url elements. One of which is an xpath using the ancestor function to get the sampler name above the target of the KBA which is the cell of the dataview. The configuration of your KBA set should follow the xml codes below. < kbaSet name = "Sampler page" > < kba > < label >Sampler URL</ label > < urlElements > < urlElement > < literal >https://www.example.com/?GeneosKB/APP/</ literal > </ urlElement > < urlElement > < xpath >ancestor-or-self::sampler/@name</ xpath > </ urlElement > < urlElement > < literal >.doc</ literal > </ urlElement > </ urlElements > < targets > < target >/geneos/gateway/directory/probe/managedEntity/sampler/dataview/rows/row/cell</ target > </ targets > </ kba > </ kbaSet >
|
-
Tags:
Comments
0 comments
Please sign in to leave a comment.