It isn't limited to Node and NodeAlias. Assuming that the question involves integration with the Object Server, the set of alerts.status field names can be given by a helm value
helmValuesASM:
status.nodeFields: Node,NodeAlias,SomeCustomField
Some points to note:
helmValuesASM
goes in the noi
or noihybrid
custom resource
- That list does not have to include Node and NodeAlias
- When trying to match, we work through the list in order (left to right). If a unique match is found, we will not look at subsequent alert fields
- The noi-topology-gateway configMap will also need edited to pass the new field through, eg
field_filter.map : |-
CREATE MAPPING StatusMap
(
'Agent' = '@Agent',
'AlertGroup' = '@AlertGroup',
'SomeCustomField' = '@SomeCustomField',
...