I'd like to tag the logs coming from filebeat with the content of an environment variable, but I need to remove dashes from the environment variable. I've tried this
shipper:
tags: ["agent", ${APPLICATION_NAME//-/}]
but even though it works in bash, it doesn't work in filebeat.
Can this be done?