GET Kibana API output in table format to send health and nodes details

Hi team,
I need to send kibana report which contains all values from below API. We need to send this in one email.

Is this possible to create table and send this report in table format.

GET _cluster/health
GET /_cat/allocation?v=true&s=node
GET _cat/nodes?v=true&s=name

there is no direct way to put this in table. it is json format output.

you need to write your own script which pulls this information and then you create your own output for email.

Hi @elasticforme ,
Thanks for your confirmation. Can you please help me out for variable name for below fields.

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.percent host ip node

what do you mean by variable name? I am not clear on question.

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