Implement transform as per meta: https://github.com/elastic/integrations/issues/15058 and CDR guide