Updates hostname values in userdata to allow easier filtering of log data for production instances and worker or producer instances.