Ctx.payload variable to be used to send nodes and allocation API details

Hello team,
I need to send output of below two API in one email . Unable to find which variable used to send below data for below API. Can you please help me with this.

GET _cat/nodes?v=true&s=name : ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name

GET /_cat/allocation?v=true&s=node : shards disk.indices disk.used disk.avail disk.total disk.percent host ip node

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.