We have migrated from APM 9.1.4 to 10.3 and our shell command action is no longer working as expected they are failing to extract the alert name from the passed in text string. We have made no change to the script being called and the alert action definition is also the same.- The included Command parameter is 'Pass Text to Shell'

Environment:

APM 10.3 Linux

Cause:

Inspection of the logs from the custom script showed that the text format passed in differs between 9.1.4 and 10.3. In 9.1.4 it appears as follows